simple tool for conversion
Ethan Alpert
ealpert at DIGITALGLOBE.COM
Wed Dec 8 08:49:55 PST 2004
If you're pulling data from mysql then I suggest using perl DBI and
Geo::Shapelib to create the shapefile in one step. A google search
turned up some C++ code and java code to do this. I use postgis so I
usually rely on pgsql2shp to create my shapefiles.
-e
-----Original Message-----
From: Joseph Norris [mailto:sirronj at pacbell.net]
Sent: Wednesday, December 08, 2004 9:37 AM
To: Ethan Alpert
Cc: mapserver users
Subject: RE: [UMN_MAPSERVER-USERS] simple tool for conversion
Yes that is what I am trying to do. I have the latitude and longitude
for different Mysql database records and I wish to produce a point shape
file of these coordinates.
#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,
14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
-----Original Message-----
From: Ethan Alpert [mailto:ealpert at digitalglobe.com]
Sent: Wednesday, December 08, 2004 8:28 AM
To: Joseph Norris; MAPSERVER-USERS at lists.umn.edu
Subject: RE: [UMN_MAPSERVER-USERS] simple tool for conversion
This makes no sense to me what-so-ever what are you trying to do? Take
vertices in a text file and build a shapefile? Project lat/lon values
into California State Plane?
-e
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu] On
Behalf Of Joseph Norris
Sent: Wednesday, December 08, 2004 7:58 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: [UMN_MAPSERVER-USERS] simple tool for conversion
Can anyone make a recommendation for unix command line tool that will
convert lat/long to xy coordinates?
Thanks.
#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,
14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
More information about the MapServer-users
mailing list