Click here to get back home

Help with Polygon data for Denmark

 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
Help with Polygon data for Denmark martin.madsen 01-18-2006
Get Chitika Premium
Posted by martin.madsen on January 18, 2006, 1:25 pm
Please log in for more thread options
Hi,

I am new to this board and hope some of you GIS gurus can help me. I
need to determine if a given latitude and longitude is inside or
outside of Denmark and probably other european countries. For this i
have thought about drawing a polygon which defines the borders of
Denmark, and then see if my latitude and longitude is inside or outside
of this Polygn. Is this the right apporach, and where do i get my hands
on data like that ? I have tried with the data from this site, but
there does not seem to be a collection of latitude and longitude coords
that would help me 'draw' my polygon.

Thanks for any help.

Regards,
/Oliver


Posted by willem van deursen on January 18, 2006, 3:04 pm
Please log in for more thread options
Hi Oliver,

almost any GIS can do this for you, but if you want to build it yourself, one of
the approaches could be:
1. Find and download a shapefile for Denmark. Shapefiles are the de facto
standard for storing vector information in the GIS world. I googled for "Denmark
Shapefile" and this is one of the sites I found:
http://www.vdstech.com/map_data.htm
(Make sure that you get a shapefile with lat/lon projection, I didn't check the
data on this site)
2. Find a convertor to go from shapefile to text. Again: google!
Shp2txt on http://www.obviously.com/gis/shp2text/ seems to do what is needed,
but I didn't check
3. Find the algorithm for pointinpolygon (Google:
http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly/), implement this and
ready to go!


But, as I said before, if you don't want to program it yourself, any GIS will do
this for you.

Regards

Willem van Deursen


martin.madsen@safetrack.dk wrote:
> Hi,
>
> I am new to this board and hope some of you GIS gurus can help me. I
> need to determine if a given latitude and longitude is inside or
> outside of Denmark and probably other european countries. For this i
> have thought about drawing a polygon which defines the borders of
> Denmark, and then see if my latitude and longitude is inside or outside
> of this Polygn. Is this the right apporach, and where do i get my hands
> on data like that ? I have tried with the data from this site, but
> there does not seem to be a collection of latitude and longitude coords
> that would help me 'draw' my polygon.
>
> Thanks for any help.
>
> Regards,
> /Oliver
>

--
Willem van Deursen, The Netherlands
wvandeursen_nospam@nospam_carthago.nl
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl


Posted by martin.madsen on January 19, 2006, 1:47 am
Please log in for more thread options
Thank you very much Willem for giving me the basics of GIS...


Posted by Happy Trails on January 20, 2006, 8:09 am
Please log in for more thread options
On 18 Jan 2006 10:25:19 -0800, martin.madsen@safetrack.dk wrote:

>Hi,
>
>I am new to this board and hope some of you GIS gurus can help me. I
>need to determine if a given latitude and longitude is inside or
>outside of Denmark and probably other european countries. For this i
>have thought about drawing a polygon which defines the borders of
>Denmark, and then see if my latitude and longitude is inside or outside
>of this Polygn. Is this the right apporach, and where do i get my hands
>on data like that ?

http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html


Happy Trails To You

Posted by Martin Hvidberg on January 25, 2006, 5:57 am
Please log in for more thread options
You need to make clear to yourself what "inside Denmark" means. Is that
only on land? How detailed do you need this?

A.F.A.I.K. The best free data of this type, for Denmark are found on:
ais.dmu.dk

The converter to Lat/Lon is found on: www.kms.dk (look for SHPTrans) or
download directely from
ftp://ftp.kms.dk/download/transformationsprogram/SHPTrans2006.zip

As for the rest, listen to Willem: All GIS systems have this
functionality...

:-) Martin

--
Reverse(ten.grebdivH@nitraM)

Similar ThreadsPosted
Polygon Topology in moving diffrent layers polygon? July 20, 2004, 1:40 pm
polygon inside another polygon May 10, 2004, 8:35 am
Save 60% on Data Entry, Data Conversion, Data Processing Services by Offshore-Data-Entry June 4, 2008, 12:05 pm
Position in Polygon April 20, 2004, 9:41 am
Point in Polygon April 29, 2004, 7:46 am
Point in polygon problem - Help please June 16, 2004, 10:22 am
Drivetime Polygon Web Service July 3, 2004, 6:49 pm
problem with Thiessen polygon dll July 29, 2004, 11:49 am
polygon area on spheroid February 13, 2005, 10:40 pm
Non selft intersecting polygon January 28, 2006, 1:56 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap