[OSGeo-Discuss] Re: what about wms-sites.com
the site is great, Benjaminthanks! -- Pere Roca Ristol Biòleg i especialista GIS Museo Nacional de Ciencias Naturales (CSIC) Visita l'EDIT mapViewer! http://edit.csic.es/geo/mapviewer/edit.html ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
[OSGeo-Discuss] what about wms-sites.com ?
hi all, there was a nice site (wms-sites.com) that I enjoyed very much because you could do thematic searches of avaible WMS, getting back a RSS feed that can be parsed and so on. the site has disappeared and I wonder if someone knows something or similar sites... I just know the list below, but they don't provide RSS. thanks, Pere Explore our planet: http://exploreourpla.net/gis/maps/ - http://columbo.nrlssc.navy.mil/ogcwms/servlet/WMSServlet?REQUEST=ServiceLinks -http://www.skylab-mobilesystems.com/en/wms_serverlist.html ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] parsing coordinates
hi Agustin, thanks for the info, but what I was looking for is an on-line tool or script to run on server-side. A project's colleague (Dominik Mikiewicz) has developed a tool; it runs on ASPX but the source code is in C# and soon will be migrated to JAVA. if someone is interested can check http://forest.miiz.waw.pl/gis/coordinateconverter/default.aspx Any feedback and/or suggestions are wellcome. Below are some comments from the author (about 29 april, maybe now outdated) "At the moment it converts only 4 coordinate notation patterns (currently English only, sorry) but I tried to enable it to convert most of the flavours of given notation. If you find anything that is supposed to be converted but either yields an error in an application (serious problem as the parser recognizes pattern but can't parse it) or gives a 'Unrecognized pattern' message, please note the coordinate string you were trying to parse and kindly send it to me. Ideally, if I have enough spare time, I will add a custom pattern builder and a batch converter for the csv / txt files. This may take some time though. Anyway, just to get to the point: Recognized coordinate notations are: 1. Variations of DD(.|,)DDD (useful if hemisphere indicator is to be removed) 2. Variations of DD(°|d)MM.MMM('|m) 3. Variation of DD(°|d)MM(ʹ|m)SS.SSS(ʺ|s) 4. Variation of DD:MM:SS.SSS Some other comments that may be useful: 1. Characters in brackets mean that the converter recognizes all of the listed characters. Furthermore they can be mixed, ie: 12°25m, 12d25', 12D25m, or omitted when at the end, ie: 12°12, 12°, 12, etc. 2. Converter recognizes patterns even if they are not written in the full so quite flexible notations are allowed, ie: DD, DD:, DD:MM, DD:MM:, DD:MM:SS, DD:MM:SS., DD:MM:SS.SSS, etc 3. In adition to the coordinate pattern each coordinate may have either (+|-|N|n|S|s|W|w|E|e) in the front or (N|n|S|s|W|w|E|e) at the end; in a case there is no chemisphere indicator the parser assumes the coordinate is positive; in a specific case of the DD(°|d)MM(ʹ|m)SS.SSS(ʺ|s) notation, when there is "s" used to mark seconds the coverter will assume the coordinate is negative if the hemisphere indicator is not given explicitly - by using (+|-|N|n|S|s|W|w|E|e) in front or (N|n|S|s|W|w|E|e) at the end 4. Any amouont of the white space characters may be used between each part of the coordinate except between a number and it's decimal part. So <> or << - 123 ° 30 ' 50 '' >> is allowed but <<12 , 30>> will yield an "unrecognized pattern' message; as demonstrated in this example any amount of whitespace characters may also be at the beginning or at the end of the string. Pere adiez wrote: > > There is a new extension [1] for gvSIG able to do that [2]. > [1] http://www.gvsig.gva.es/index.php?id=2187&L=0 > [2] http://mmedia.uv.es/display?c=adiez&name=normalizar.mov > > > On Apr 20, 2009, at 12:04 PM, pere roca ristol wrote: > >> >> 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 > > > ___ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > > -- View this message in context: http://n2.nabble.com/parsing-coordinates-tp2662782p3160702.html Sent from the OSGeo Discuss mailing list archive at Nabble.com. ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
[OSGeo-Discuss] Re: adding scalebar to images to be downloaded
I see that MapServer has the scalebar utility which can be used in command line to generate a scalebar graphic. so I think problem solved. If someone knows of other tools please let me know. thanks, Pere 2009/6/5 pere roca ristol > hi all, > I have a webmapping application that generates map images to download in > different formats and resolutions, with the legend and so on. You can see it > in http://edit.csic.es/geo/mapviewer/edit.html or some videos > http://edit.csic.es/edit_info/edit_videos.html > > I wonder how I can add a scalebar to the image to be downloaded? as the > images to download (ImageMagick) are processed in PHP it should be a > server-side solution. > > some idea? thanks! > Pere Roca > -- Pere Roca Ristol Biòleg i especialista GIS Museo Nacional de Ciencias Naturales (CSIC) Visita l'EDIT mapViewer! http://edit.csic.es/edit_geo/prototype/edit.html ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
[OSGeo-Discuss] adding scalebar to images to be downloaded
hi all, I have a webmapping application that generates map images to download in different formats and resolutions, with the legend and so on. You can see it in http://edit.csic.es/geo/mapviewer/edit.html or some videos http://edit.csic.es/edit_info/edit_videos.html I wonder how I can add a scalebar to the image to be downloaded? as the images to download (ImageMagick) are processed in PHP it should be a server-side solution. some idea? thanks! Pere Roca ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
[OSGeo-Discuss] Re: parsing coordinates
dear all, I develop in PHP and have almost no idea about Python and Perl, but thank you anyway for the information. best regards, Pere 2009/4/21 > Send Discuss mailing list submissions to >discuss@lists.osgeo.org > > To subscribe or unsubscribe via the World Wide Web, visit >http://lists.osgeo.org/mailman/listinfo/discuss > or, via email, send a message with subject or body 'help' to >discuss-requ...@lists.osgeo.org > > You can reach the person managing the list at >discuss-ow...@lists.osgeo.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss digest..." > > > Today's Topics: > > 1. Re: parsing coordinates (Tim Michelsen) > 2. Re: Re: parsing coordinates (Mateusz Loskot) > 3. Re: Re: parsing coordinates (Mateusz Loskot) > 4. Re: parsing coordinates (Arnulf Christl) > > > -- > > Message: 1 > Date: Mon, 20 Apr 2009 23:09:42 +0200 > From: Tim Michelsen > Subject: [OSGeo-Discuss] Re: parsing coordinates > To: disc...@mail.osgeo.org > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > * 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? > I did some of this for python. > What langauge will you use? > > Please report if you find some useful libraries. > > Kind regards, > Timmie > > > > -- > > Message: 2 > Date: Tue, 21 Apr 2009 09:26:21 +0100 > From: Mateusz Loskot > Subject: Re: [OSGeo-Discuss] Re: parsing coordinates > To: OSGeo Discussions > Cc: disc...@mail.osgeo.org > Message-ID: <49ed832d.7060...@loskot.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Tim Michelsen wrote: > > * 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? > > Long time ago I made a script solving similar problems: > > http://mateusz.loskot.net/software/gis/pydecimaldegrees/ > > It is very easy to extend it to support all the format > variations you've listed above. > > Best regards, > -- > Mateusz Loskot, http://mateusz.loskot.net > Charter Member of OSGeo, http://osgeo.org > > > -- > > Message: 3 > Date: Tue, 21 Apr 2009 09:26:21 +0100 > From: Mateusz Loskot > Subject: Re: [OSGeo-Discuss] Re: parsing coordinates > To: OSGeo Discussions > Cc: disc...@mail.osgeo.org > Message-ID: <49ed832d.7060...@loskot.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Tim Michelsen wrote: > > * 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? > > Long time ago I made a script solving similar problems: > > http://mateusz.loskot.net/software/gis/pydecimaldegrees/ > > It is very easy to extend it to support all the format > variations you've listed above. > > Best regards, > -- > Mateusz Loskot, http://mateusz.loskot.net > Charter Member of OSGeo, http://osgeo.org > > > -- > > Message: 4 > Date: Tue, 21 Apr 2009 16:39:43 +0200 > From: Arnulf Christl > Subject: Re: [OSGeo-Discuss] parsing coordinates > To: OSGeo Discussions > Message-ID: <49eddaaf.9030...@wheregroup.com> > Content-Type: text/plain; charset=ISO-8859-1 > > -BEGIN PGP SIGNED M
[OSGeo-Discuss] parsing coordinates
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
[OSGeo-Discuss] problem using php's GD to overlay images
hi all, I need to overlay two or more images from server-side (PHP) coming from diferent WMS GetMaps (as I need to create these requests using dynamically created SLDs for different layers I cannot integrate everything on the same Getmap). In these GetMaps I include the Transparent=true parameter. I'm using imagecopymerge from GD php's library to overlay the images. One of the parameters of this function is a percentage (of pixels of the second image to be printed over the second image). The problem is that it means losing brightness. You can check this URL (as in Mexico there are more than one layer overlayed, it appears without brightness) http://edit.csic.es/fitxers/TDWG_distributions.php?ad=tdwg2/c:Brazil,Mexico,Caribbean|b:Mexico||tdwg4/c:Nicaragua,Chiapas,Oaxaca,Veracruz||tdwg3/a:MXC,|b:MXE,MXG|d:VEN|c:MXT,&as=a:d7add2|b:ab8dc9F|c:f2e227|d:f7555d&ms=700x450 Some idea? some similar function in PHP (or not...) to solve it? thanks! -- Pere Roca Ristol Biòleg i especialista GIS Museo Nacional de Ciencias Naturales (CSIC) Visita l'EDIT mapViewer! http://edit.csic.es/edit_geo/prototype/edit.html ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss