How to display a territory's map programmatically

locuelas
03-13-2008, 03:38 AM
Hi,
I'm trying to develop an application which can retrieve a map of a territory showing only his postal codes.
I want to do this programmatically. I want to set the territory's background color and set a pushpin on every postal code (like the Mappoint Territory's Wizard).

I've attached an image showing what I want to get in my web application.

Is this possible programmatically? Can anyone help me, please?

Thanks

DNJ
03-20-2008, 05:25 PM
Are you looking for a file or other source with the zipcode, post office name, a latitude and a longitude?
Products with that information are available for sale, so I will assume that you want low cost (that's code for "free")
The lower the cost, the more work you generally have to put into getting what you want. Take a look at the U.S. Census website and hunt around the TigerLine mapping files. Seems to me that I saw something like that when I was trashing through there a number of years ago. The borders of the zipcodes are embedded in their maps. But, the borders may be available in separate files. The easiest thing to do, then, is take an average of all of the coordinates to get a rough center.
Dennis

locuelas
03-25-2008, 05:32 AM
Hi DNJ,
Thanks for your reply.

I've already an excel file with zip codes and demographic data (I've exported it from MapPoint). All I need is displaying this data like the image I've attached the first (territorio.jpg).

I need to do this programmatically but I can't show the territory's borders (like the fist image attached, territorio.jpg). All I can display is a map like the second image attached (a road map, Mappoint1.jpg), but this isn't enough.

I don't know if there is a "layer" or something like that to display what I need. Maybe this can't be done programmatically....

Can you help me?

Thanks.

Mattys Consulting
03-25-2008, 09:34 AM
Hi locuelas,

Is it possible that you are referring to a shape drawn with
vertices that match the coordinates of the perimeter of
your territory (that was a stupid way of not repeating 'shape')
which you right-click on and choose Send Behind Roads?

Two things you can do:
1) Find shp files that match and import them (spatialdata importer)
2) shapes.add ...

Mike Mattys

 
Web mp2kmag.com
mapforums.com