hello, this is not specifically on the matter of parsing different kinds of notations for geographic coordinates.
But as you were also looking for a remote service doing a similar job, I would like to point out that deegree offers an application which is capable to either transform single coordinate pairs to a different coordinate systems, or to transform all coordinate pairs within a file (csv, txt) to a chosen coordinate system. The output file may be either txt, csv, or kml (output as WGS84 only). You can find the running demo [1] or the sources in svn [2]. A little more detailed description is given at [3]. Feedback is welcome to the developers list of deegree [4]. Kind regards, Judit Mays [1] http://testing.deegree.org/coordcalc/ [2] http://wald.intevation.org/plugins/scmsvn/viewcvs.php/apps/coordinate-calculator/trunk/?root=deegree [3] https://wiki.deegree.org/deegreeWiki/WebClients [4] https://lists.sourceforge.net/lists/listinfo/deegree-devel pere roca ristol schrieb: > > hi all, > > > I'm developing a webapplication that let's user upload their point data > and play with it. > > It currently works with lat/long in a CSV with this format (eg: /0.44, > -79.9/) but we find users with some of these also valid and acceptable > ways to write geographic coordinates: > > * 40:26:46N,79:56:55W > * 40:26:46.302N 79:56:55.903W > * 40°26'21"N 79°58'36"W > * 40d 26' 21" N 79d 58' 36" W > * 40.446195N 79.948862W > * 40.446195, -79.948862 > * 40° 26.7717, -79° 56.93172 > > > I'm aware that parsing and interpreting free-text coordinate > descriptions is quite complex, maybe someone knows a script (or a remote > service) that does a similar job? > > > It would be very helpful. > > Thanks! > > > Pere > > > ------------------------------------------------------------------------ > > _______________________________________________ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss