Re: [mapserver-users] GPS to GIS
Hi Guys, Thanks for your input. It's been a great help. The fact that I'm now aware of the translation - from WGS84 to UTM Zone 32 - has narrowed the problem down. Peter Benoît Andrieu skrev: Hi Peter, What do you mean with 'GIS' coordinates ? For me, GIS means Geographic Information System and is a very common term. Looking at your 'GIS' coordinates I would say that your GIS coordinate system is a UTM 32 coordinate system. And in your case, you could use cs2cs (http://proj.maptools.org/man_cs2cs.html) in order to make the translation. cs2cs.exe +proj=latlong +datum=WGS84 +to +proj=utm +zone=32 +datum=WGS84 -r input : 54.9808N 8.86707E output : 491492.61 6092662.95 0.00 The results are not exactly accurate with yours but they are close enough to me (by what ? 600 meters ? ^^). I hope it will help. Regards, Benoît Andrieu - Original Message - From: "Peter Falk" <[EMAIL PROTECTED]> To: Sent: Thursday, August 07, 2008 9:20 AM Subject: [mapserver-users] GPS to GIS Hi David, Yes I know i was a bit vague. What I need is a simple function, that can turn a point in GPS - a lattitude and a logitude value - into a point in GIS. I.e. I got these coordinate: GPS: N: 54.9809 E: 8.86707 that applies to GIS: X: 491055.41 Y: 6092507.928 What I need is the correlation between the two. Regards Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Med venlig hilsen Peter Falk Nexus Kommunikation Østre Messegade 2 2650 Hvidovre 36 77 00 46 www.nexus.dk ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GPS to GIS
Hi David, Yes I know i was a bit vague. What I need is a simple function, that can turn a point in GPS - a lattitude and a logitude value - into a point in GIS. I.e. I got these coordinate: GPS: N: 54.9809 E: 8.86707 that applies to GIS: X: 491055.41Y: 6092507.928 What I need is the correlation between the two. Regards Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] GPS to GIS
Thanks for your reply. My intension was to convert CPS-coords to GIS-coords on the fly and for that purpose I needed a piece of scripting (an algorithm). But if GPSBabel can convert data between these formats, I'll go for that. Christy Nieman skrev: I've used GPSBabel (http://www.gpsbabel.org) to download data from my GPS and get them into more usable formats. It can also convert between formats. I'm not sure what you mean by converting between GPS and GIS coordinates. If you have a delimited table of coordinates you should be able to import it into a GIS to create, for example, a shapefile. Subject: [mapserver-users] GPS to GIS From: Peter Falk <[EMAIL PROTECTED]> Date: Wed, 06 Aug 2008 14:22:00 +0200 To: mapserver-users@lists.osgeo.org To: mapserver-users@lists.osgeo.org Hi, I have a table of GPS-coordinates that I want to use as POI. I've tried to find an algoritm to convert GPS-coordinates to GIS-coordinates but without luck. It would be a great help if anyone could tell me how to do this translation. Thanks! Regards Peter Falk ___ 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 -- Med venlig hilsen Peter Falk Nexus Kommunikation Østre Messegade 2 2650 Hvidovre 36 77 00 46 www.nexus.dk ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GPS to GIS
Hi, I have a table of GPS-coordinates that I want to use as POI. I've tried to find an algoritm to convert GPS-coordinates to GIS-coordinates but without luck. It would be a great help if anyone could tell me how to do this translation. Thanks! Regards Peter Falk ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] zoomRectangle in combination with zoomPoint
Hi, I'm having some difficulties with zoomRectangle in combination with zoomPoint, when working with both a map and a reference map. The only way I've been able to successfully synchronize the map when clicking on the reference map, is by using max_extent and an absolut zoom-factor: zoomPoint( $this->zoom_factor, $this->clkpoint,$this->map->width, $this->map->height, $this->max_extent, $this->max_extent); Thereby the zoom factor and the click point determine the extent of the map. But when using zoomRectangle it's not possible to do this. Instead one must pass the actual extent as a parameter. When doing this, zoomPoint no longer act correct. Does anyone know how to overcome this problem? -- Regards Peter Falk ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users