Re: [mapserver-users] upload/stream data from GPS unit?
Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
Bill, There are probably many solutions available depending on the various technical components that you might have in the solution. One possible solution might be something along these lines: 1) stream data to some service that you probably have to build 2) have said service load the points into a postgres/postgis database 3) create a mapfile with a LAYER to disply the data from postgis 4) Use a client like OpenLayers to render you map from mapserver 5) add a timer event to refresh your map every X secs -Steve W http://imaptools.com/ Bill Wordsworth wrote: Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
Thanks Steve. I am clear about the mapping part. I am not so sure about streaming/uploading near-real-time GPS data from on-site to webserver across WPA? Cheers, Bill On Thu, Mar 27, 2008 at 3:10 PM, Stephen Woodbridge [EMAIL PROTECTED] wrote: Bill, There are probably many solutions available depending on the various technical components that you might have in the solution. One possible solution might be something along these lines: 1) stream data to some service that you probably have to build 2) have said service load the points into a postgres/postgis database 3) create a mapfile with a LAYER to disply the data from postgis 4) Use a client like OpenLayers to render you map from mapserver 5) add a timer event to refresh your map every X secs -Steve W http://imaptools.com/ Bill Wordsworth wrote: Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto: mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
Bill, Maybe. It depends what your expectations are with respect to Near-Real-Time. Mapserver can support GDAL/OGR layers if Mapserver is built with GDAL+Expat (not uncommon, but my version isn't built with Expat). I think the layer definition might look something like: LAYER NAME gps TYPE point STATUS DEFAULT CONNECTIONTYPE OGR CONNECTION mygps.gpx CLASS STYLE COLOR 0 0 255 END END END Hopefully (!) there won't be any file access problems if your GPS s/w is creating the gpx file the same time Mapserver/GDAL is trying to read it. We implemented a tracking system a few years ago by writing a program to insert/update positions (received every 30 minutes per gps unit by email) into a PostgreSQL database and have Mapserver read the positions from there. Using a relational database avoids the file locking problem and provided a few other benefits. Another limitation of Mapserver is the fact that is doesn't push any data to the end application (e.g. browser, WMS/WFS client) until it is requested. For example if you show a raster map in a browser and don't refresh it for an hour, your positions as displayed in the browser are an hour old. Of course it is possible to code some html/javascript to request a new map every so often. If your main interest is in how to get the positions from the GPS receivers into a database, as far as I know there are no open standards used directly by the GPS vendors. One open project is http://www.opendmtp.org/. Another effort is the Ham radio APRS (while the radio part is for non-commercial use only, you might be able to use some the ideas in the upper levels of the protocol). In any case, you'll likely need to do some programming/scripting... Brent Fraser GeoAnalytic Inc. Calgary, Alberta - Original Message - From: Bill Wordsworth [EMAIL PROTECTED] To: mapserver-users@lists.osgeo.org Sent: Thursday, March 27, 2008 11:52 AM Subject: Re: [mapserver-users] upload/stream data from GPS unit? Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
Bill, Am still not particularly proficient with MapServer to help with the how -- instead, I'm curious about the how near real time. Within 10 seconds or 10 minutes? Also, how much data? if it is just x,y,z info could you have the machine that's reading the GPS append points to a (say) ShapeFile, and send the whole thing? This would work if your ShapeFile held the last couple of hundred points; Then it might be possible to display those points + another layer that would have an accumulation of the points, and a process on the server that would append the newest points to the accumulated file. I'll confess to being more than a little curious about what you are doing... Ken - Original Message - From: Bill Wordsworth To: mapserver-users@lists.osgeo.org Sent: Thursday, March 27, 2008 1:21 PM Subject: Re: [mapserver-users] upload/stream data from GPS unit? Thanks Steve. I am clear about the mapping part. I am not so sure about streaming/uploading near-real-time GPS data from on-site to webserver across WPA? Cheers, Bill On Thu, Mar 27, 2008 at 3:10 PM, Stephen Woodbridge [EMAIL PROTECTED] wrote: Bill, There are probably many solutions available depending on the various technical components that you might have in the solution. One possible solution might be something along these lines: 1) stream data to some service that you probably have to build 2) have said service load the points into a postgres/postgis database 3) create a mapfile with a LAYER to disply the data from postgis 4) Use a client like OpenLayers to render you map from mapserver 5) add a timer event to refresh your map every X secs -Steve W http://imaptools.com/ Bill Wordsworth wrote: Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] upload/stream data from GPS unit?
My guess is that you will need some sort of device to log the data from the GPS and then transmit it across a wireless network (pager, SMS, cell phone). At your base station, you would have capture the messages, parse them, and then probably stuff the data into a database (PostGIS?). Your MapServer map file could then point to the spatial data layer in PostGIS. Every hit to MapServer would show the latest data. David. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Wordsworth Sent: Thursday, March 27, 2008 12:52 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] upload/stream data from GPS unit? Please let's not hijack my poor thread :)! Anyway, here's my original question: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? I've been referred to http://franson.com/gpsgate/ from the usenet groups. I am looking for something with WPA. Cheers, Bill On Wed, Mar 26, 2008 at 11:39 AM, Carlos Pinto [EMAIL PROTECTED] wrote: Hi all, I'm new in MapServer and I'm using Openlayers that can be a client of MapServer. What I'm trying to set-up is a grid that is in GML file. And I want MapServer to build the layer reading the GML file and give it to OpenLayers (javascript API) would read it as WMS. I have instaled MapServer in C# so I'm using MapScript. Is this possible? Thanks Carlos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users On Wed, Mar 26, 2008 at 11:25 AM, Bill Wordsworth [EMAIL PROTECTED] wrote: How can I upload/stream near-real-time GPS data from on-site to webserver/MapServer (MapServer 5.x can read *.gpx)? Cheers, Bill ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
On Mar 27, 2008, at 12:43 PM, Fawcett, David wrote: My guess is that you will need some sort of device to log the data from the GPS and then transmit it across a wireless network (pager, SMS, cell phone). At your base station, you would have capture the messages, parse them, and then probably stuff the data into a database (PostGIS?). Your MapServer map file could then point to the spatial data layer in PostGIS. Every hit to MapServer would show the latest data. Bill, I would just like to mention that if help with automating this is needed, I could easily develop a solution for Mac OS X. GIS automation on the Mac is my specialty. ;) Cheers, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
On Mar 27, 2008, at 12:43 PM, Fawcett, David wrote: My guess is that you will need some sort of device to log the data from the GPS and then transmit it across a wireless network (pager, SMS, cell phone). At your base station, you would have capture the messages, parse them, and then probably stuff the data into a database (PostGIS?). Your MapServer map file could then point to the spatial data layer in PostGIS. Every hit to MapServer would show the latest data. This is exactly the approach I have taken in providing similar data showing vessel movements track. It works well. Database views queries provide a simple latest (ie, current) position as well as easily permitting automated building of objects like daily paths, etc, for long term warehousing of conveniently packaged path data. Cheers, Brent Wood ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users