Click here to get back home

Digestible form of country boundary data

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Digestible form of country boundary data Csaba Gabor 05-05-2004
Get Chitika Premium
Posted by Greg Siemon on May 6, 2004, 3:14 pm
Please log in for more thread options
Would an ActiveX control help
http://cmensys.com/dtr/world2.gif
Download:
http://cmensys.com/dtr/world.zip

Greg

> Hi. I'd like to get "appropriate" border information
> (longitude/latitude) in text format for the countries of the
> world (states for the US) so that I can generate multicolored
> maps.
>
> I have a small project to deliver, and the map portion
> is causing me extreme frustration. The idea is simple: show
> a map of the continents. The user clicks and gets a map of
> the countries (on that continent - no cities, no country name,
> no elevations, etc.). Click on a country, and get statistical
> information about that country (# of widgets delivered).
> An administrator will occasionally update the statistical
> information, and each country at that time is to be automatically
> recolored based on how it's faring (gray for no widgets delivered,
> yellow for the bottom 30%, etc.)
>
> So, the maps are static and there are only a fixed number of them,
> but the colors will change. To me, that means that I should
> have a (Windows/DOS) command line tool or use PHP with gd to
> recreate these maps each time there is an administrative update.
>
> So, since I haven't found such a tool, I now have have three problems:
> 1) Find ASCII longitude/latitude border data.
> 2) Whittle the data down to the relevant parts
> 3) Generate the fixed sized maps
>
> 3 is easy because I will just use something like
> http://php.net/imagefilledpolygon from PHP's gd package.
>
> 1 is a real mess for me. The best I've been able to do
> in extracting longitude/latitude data to ASCII so far is:
> http://rimmer.ngdc.noaa.gov/mgg/coast/getcoast.html
> And while I can do the world coastlines using the World Coast Line
> dataset at 1:5 000 000, the country information is either obsolete
> (World Vector Shoreline at 1:250 000) or broken (International
> Boundaries Only from WDB II e.g. Austria/Italy border)
>
> I installed the Win4GMT on top of GMT (whose author has supposedly
> made up do date political boundaries) and they show me a mini map to
> select a region, but but I just can't seem to get any data out of the
> program,
> and I'm not sure what to do with their accompanying files are CDF files
> (or netCDF), and I can't find in the docs.
>
> Assuming I can do 1, I still have a lot of work in 2 because I have to
> toss out irrelevant (for me) small islands, and splice together borders
> that exist as open paths into closed paths (polygons) and then eliminate
> a whole lot of points thereof.
>
> Anyway, if there would be a better way for me to go about this, I'm
> open to suggestions, but two things that won't work for me are to
> run out and get a UNIX box or to and spend thousands of dollars
> on ESRI or other software just to recover data points.
>
> Thanks,
> Csaba Gabor
>
>




Similar ThreadsPosted
Obtaining Vector Feature data for a foreign country. April 8, 2004, 4:08 pm
GB town boundary data? September 15, 2006, 12:58 pm
Creating Boundary map from bespoke postcode data June 1, 2005, 3:16 am
ArcObjects/VBA Import values from excel into a form October 3, 2007, 4:46 am
Lat-Lon co-ordinates for each country in a worldmap April 24, 2008, 3:02 pm
Lat-Lon co-ordinates for each country in a worldmap April 24, 2008, 3:02 pm
An okay online Zip code boundary map March 2, 2005, 8:57 am
Any public domain map/boundary for the UK? August 9, 2005, 9:56 am
uk county boundary files November 14, 2006, 7:31 pm
Save 60% on Data Entry, Data Conversion, Data Processing Services by Offshore-Data-Entry June 4, 2008, 12:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap