[Mapserver-users] Transforming lat/long points into shapefiles

Charlton Purvis cpurvis at asg.sc.edu
Fri May 2 10:13:16 EDT 2003


Absolutely, without a doubt, give PostGIS a shot.  I have been nothing but impressed w/ its performance and ease (w/ MapServer 3.7.x).  Admittedly, I am not doing anything akin to rocket science, but I have also experimented w/ online data additions to my PostGIS tables.  The exercise I did was to provide a map, allow the user to input a name, click on the map, and then the click would be translated into a lat/lon + the name would be entered in to the PostGIS table as a new buoy.  Redisplay the map, read the updated table, and there's the new buoy.

PostGIS also has simple command-line utilities to both bring shapefiles in to the database as well as export PostGIS tables from the database into new shapefiles.  Don't know if that applies to you or not.

Sometime soon I hope to organize my iterative MapServer/PostGIS code to post to the Wiki, but until then, if you'd like an example, let me know.

Charlton

-----Original Message-----
From: Arnulf Christl (CCGIS) [mailto:arnulf.christl at ccgis.de] 
Sent: Friday, May 02, 2003 10:02 AM
To: mapserver-users at lists.gis.umn.edu
Subject: AW: [Mapserver-users] Transforming lat/long points into shapefiles

Maybe the best idea is to not create shapefiles on the fly but directly
access the db which contains the points?
We are currently exerimenting with PostGreSQL/PostGIS to achieve this but do
not have any firm results yet.

Regards, Arnulf.


-----Ursprüngliche Nachricht-----
Von: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Justin
Garre
Gesendet: Freitag, 2. Mai 2003 09:29
An: mapserver-users at lists.gis.umn.edu
Betreff: [Mapserver-users] Transforming lat/long points into shapefiles


Given a set of start and end latitude and longitude points that comprise a
street rout, how do I transform them into a shapefile in an automated manner
from a database?  This database would be consistently updated with new data
from the field so it is important that we be able to have our map be capable
of automatically displaying the data as it becomes available.

Is the most common and time efficient way of doing this to have a new
shapefile be created and displayed in real-time on our map during each data
update from the field or is there a way to simply have the street network
shapefile draw data from a database real-time and update its attributes
without creating an all new shapefile?  Depending on which is best, are
there any text resources out there that show how this is accomplished in
database design?

I have been having difficulty in finding information on this topic both
through Google searches and on the Mapserver support site so I appreciate
both your patience and any help that you can provide.

Best regards,

Justin Garre
University of Washington
garre_gis at hotmail.com





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list