473,549 Members | 2,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control of a map where the user can click and drag to select an area...

Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the click
point or using a square area (user's choice)... This control would return
the postal/zip codes of the selected rectangle or the clicked point
postal/zip code and the wanted distance range. Is it something that can be
done in a web control? it's absolutely something easy (well, fairly easy)
in a windows forms app, but how is it in web forms? I would probably have to
use Atlas.... Is it something I can do using Javascript? will I have to make
an ActiveX for it?

Thanks

ThunderMusic

btw... I'd be interested in having some links to where I can find databases
on worldwide postal/zip...
Sep 17 '06 #1
5 2048
I can't tell you how to map, as I have not gotten that far. I can give you
some info that may help. For mapping in .NET, there is a C# mapping project
(open source) called SharpMap:
http://www.codeplex.com/Wiki/View.as...tName=SharpMap

For the United States, mapping is generally done off of TIGR data, which is
downloadable from the Census site (census.gov). It is a pain to download, to
an extent, because there is no all in one download. It is GBs of data.
Download a sample and go from there.
There is also an open consortium of GIS mapping.

Zip code data is for sale. While you can put together United States and
Canadian zip codes by searching sites, it takes quite a long time to do and
is only useful if your time is not worth anything. At work, we currently
purchase US & Canada from Zipcodedownload .com. It is decent data and has a
good price for a yearly subscription. This is NOT mapping data, however.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"ThunderMus ic" <NO.danlat.at.h otmail.com.SPAM wrote in message
news:Oc******** ******@TK2MSFTN GP03.phx.gbl...
Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the
click point or using a square area (user's choice)... This control would
return the postal/zip codes of the selected rectangle or the clicked point
postal/zip code and the wanted distance range. Is it something that can be
done in a web control? it's absolutely something easy (well, fairly easy)
in a windows forms app, but how is it in web forms? I would probably have
to use Atlas.... Is it something I can do using Javascript? will I have to
make an ActiveX for it?

Thanks

ThunderMusic

btw... I'd be interested in having some links to where I can find
databases on worldwide postal/zip...

Sep 17 '06 #2
TRY AGAIN
I can't tell you how to map, as I have not gotten that far. I can give you
some info that may help. For mapping in .NET, there is a C# mapping project
(open source) called SharpMap:
http://www.codeplex.com/Wiki/View.as...tName=SharpMap

THere is also GehtSoft GIS (open source)
http://sourceforge.net/projects/gsgeotools

For the United States, mapping is generally done off of TIGR data, which is
downloadable from the Census site (census.gov). It is a pain to download, to
an extent, because there is no all in one download. It is GBs of data.
Download a sample and go from there.
http://arcdata.esri.com/data/tiger20...r_download.cfm

There is also an open consortium of GIS mapping that has some good info.
https://www.osgeo.org/

Zip code data is for sale. While you can put together United States and
Canadian zip codes by searching sites, it takes quite a long time to do and
is only useful if your time is not worth anything. At work, we currently
purchase US & Canada from Zipcodedownload .com. It is decent data and has a
good price for a yearly subscription. This is NOT mapping data, however.

Newer maps than the Census cost lots of money. There are basically two
companies that have data: NavTeq and TeleAtlas. Both price according to the
type of application and tend to request monthly revenue streams for the
data. It is worth it if you need accuracy on roads, etc., but not for a
simple "find the zipcode" type app (TIGR should be fine for this).

Hope this helps!
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"ThunderMus ic" <NO.danlat.at.h otmail.com.SPAM wrote in message
news:Oc******** ******@TK2MSFTN GP03.phx.gbl...
Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the
click point or using a square area (user's choice)... This control would
return the postal/zip codes of the selected rectangle or the clicked point
postal/zip code and the wanted distance range. Is it something that can be
done in a web control? it's absolutely something easy (well, fairly easy)
in a windows forms app, but how is it in web forms? I would probably have
to use Atlas.... Is it something I can do using Javascript? will I have to
make an ActiveX for it?

Thanks

ThunderMusic

btw... I'd be interested in having some links to where I can find
databases on worldwide postal/zip...

Sep 17 '06 #3
In .NET you would build a Composite Control. Being pragmatic however I must
note Cowboy's comments lead to the long and difficult task of doing it all
yourself -- a rabbit hole of complexity and cost -- so it seems to me the
easier choice is a design-build business model also called a mashup.

That would mean using APIs provided by Google Earth and/or Microsoft Earth
or Microsoft MapPoint or a similar service your control(s) interoperate
with.

Think of it this way. As an architect whose business process is
"design-build" I would rent the heavy equipment and an operator to dig my
holes, pour my concrete and so on. Google, Microsoft and others are now
makig it possible to use or rent their heavy equipment to enable us to
operate design-build businesses on the web. Your only other choice is to
follow the rabbit hole.

--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
"ThunderMus ic" <NO.danlat.at.h otmail.com.SPAM wrote in message
news:Oc******** ******@TK2MSFTN GP03.phx.gbl...
Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the
click point or using a square area (user's choice)... This control would
return the postal/zip codes of the selected rectangle or the clicked point
postal/zip code and the wanted distance range. Is it something that can be
done in a web control? it's absolutely something easy (well, fairly easy)
in a windows forms app, but how is it in web forms? I would probably have
to use Atlas.... Is it something I can do using Javascript? will I have to
make an ActiveX for it?

Thanks

ThunderMusic

btw... I'd be interested in having some links to where I can find
databases on worldwide postal/zip...

Sep 17 '06 #4
Point well taken. It really depends on what the user is doing, however, as
Google Earth, etc. are not free for commercial use.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
In .NET you would build a Composite Control. Being pragmatic however I
must note Cowboy's comments lead to the long and difficult task of doing
it all yourself -- a rabbit hole of complexity and cost -- so it seems to
me the easier choice is a design-build business model also called a
mashup.

That would mean using APIs provided by Google Earth and/or Microsoft Earth
or Microsoft MapPoint or a similar service your control(s) interoperate
with.

Think of it this way. As an architect whose business process is
"design-build" I would rent the heavy equipment and an operator to dig my
holes, pour my concrete and so on. Google, Microsoft and others are now
makig it possible to use or rent their heavy equipment to enable us to
operate design-build businesses on the web. Your only other choice is to
follow the rabbit hole.

--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
"ThunderMus ic" <NO.danlat.at.h otmail.com.SPAM wrote in message
news:Oc******** ******@TK2MSFTN GP03.phx.gbl...
>Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the
click point or using a square area (user's choice)... This control would
return the postal/zip codes of the selected rectangle or the clicked
point postal/zip code and the wanted distance range. Is it something that
can be done in a web control? it's absolutely something easy (well,
fairly easy) in a windows forms app, but how is it in web forms? I would
probably have to use Atlas.... Is it something I can do using Javascript?
will I have to make an ActiveX for it?

Thanks

ThunderMusic

btw... I'd be interested in having some links to where I can find
databases on worldwide postal/zip...


Sep 17 '06 #5
hi,
What I want to do with this is just something more graphical to work with
for people to point out the distance range from one point to determine to
which people their project will be presented to (it will be presented to
people within this distance range), But right now, I can do fine with a
country or a state/province/region or a city reference... But I was just
planning for future features (dream list)...

thanks a lot

ThunderMusic
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMa écrit
dans le message de news: uf************* *@TK2MSFTNGP03. phx.gbl...
Point well taken. It really depends on what the user is doing, however, as
Google Earth, etc. are not free for commercial use.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>In .NET you would build a Composite Control. Being pragmatic however I
must note Cowboy's comments lead to the long and difficult task of doing
it all yourself -- a rabbit hole of complexity and cost -- so it seems to
me the easier choice is a design-build business model also called a
mashup.

That would mean using APIs provided by Google Earth and/or Microsoft
Earth or Microsoft MapPoint or a similar service your control(s)
interoperate with.

Think of it this way. As an architect whose business process is
"design-build" I would rent the heavy equipment and an operator to dig my
holes, pour my concrete and so on. Google, Microsoft and others are now
makig it possible to use or rent their heavy equipment to enable us to
operate design-build businesses on the web. Your only other choice is to
follow the rabbit hole.

--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
"ThunderMusi c" <NO.danlat.at.h otmail.com.SPAM wrote in message
news:Oc******* *******@TK2MSFT NGP03.phx.gbl.. .
>>Hi,
I'd need to find (or develop) a control of a map (worldwide if possible)
where a user can click and drag to select an area by distance from the
click point or using a square area (user's choice)... This control would
return the postal/zip codes of the selected rectangle or the clicked
point postal/zip code and the wanted distance range. Is it something
that can be done in a web control? it's absolutely something easy
(well, fairly easy) in a windows forms app, but how is it in web forms?
I would probably have to use Atlas.... Is it something I can do using
Javascript? will I have to make an ActiveX for it?

Thanks

ThunderMusi c

btw... I'd be interested in having some links to where I can find
databases on worldwide postal/zip...



Sep 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2677
by: Colin Young | last post by:
I have a UserControl that contains a calendar control. The calendar is not raising events (month navigation, date selections, etc.). I've checked that the OnSelectionChanged event has a handler being registered. Is there anything else obvious or otherwise that I've missed? Is there a problem using it in a UserControl? Thanks Colin
5
3691
by: Charles Law | last post by:
Sorry for reposting this question, but I did not get a single answer last time, and I'm sure you guys must have some thoughts on the matter. I have a user control which can be dragged and dropped onto a form in my application when it is running. I allow it to be clicked and dragged to a new location on the form. However, the user control has...
2
2661
by: John Dann | last post by:
This question has arisen from an earlier thread but is really a separate issue: I have a VB.Net listbox control on a form. I want to be able to do 2 things with items displayed within the one listbox. 1. Reorder items using drag and drop with the mouse. 2. Delete items eg by double-clicking or some other mouse-related action.
5
1984
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something like this is a bug or that .NET doesn't support what I trying to do. I hope that one that is is microsoft certified read this because this must be a...
11
2808
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
8
1960
by: James Arnold | last post by:
I currently have a borderless form, which I am subclassing to allow dragging & dropping: Protected Overrides Sub WndProc(ByRef m As Message) Select Case m.Msg Case 132 'Click & Drag Form m.Result = New IntPtr(2) 'Continue message MyBase.WndProc(m) End Select
5
3727
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library project. The original code for that control was written in VS 2003 for .NET 1.1. I created a Web Project and pulled the VB module into the project. I...
2
2382
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hello experts, I posted a disturbing question in here: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.languages.csharp&mid=dedc665f-91c0-4fa4-a103-a98a6808759c But no one have answered it. Is not clear? or maybe it a Framework bug? Please help.
0
7526
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7457
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7965
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7817
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6051
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3487
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
771
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.