Re: [mapserver-users] Projection help: proj command line
Hi Matthew, try cs2cs instead of proj, e.g. cs2cs +init=epsg:26915 +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs With proj you have to do the inverse projection from epsg:26915 (your from projection) to latlon/wgs84 (epsg:4326) first, proj -I -f %.8f +init=epsg:26915 In a second step project the resulting latlon coordinate into your to-projection: proj -f %.4f +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs Both version should work. Just for comparison, I got the following result for the first point of your extent: epsg:26915: 184056.505, 4809728.25 epsg:4326 : -96.89976708 43.37391004 your to projection: -10786832.7293 5369059.0540 I hope, that this is correct and will help. Dirk Hi, This question is tangential to Mapserver, but critical to me nonetheless. I'm trying to reproject a shapefile in a mapfile from = PROJECTION init=epsg:26915 END = to = PROJECTION +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs END = my extent in the 'from' projection are: = EXTENT 184056.505 4809728.25 767381.245 5478975.75 = Can someone help me figure out what my EXTENT should be in my 'to' projection? I've tried the following extents derived from the 'proj' command line outputs as extents, but was not successful: = $ proj -I -f %.4f +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs 184056.505 4809728.25 1.6534 39.6121 767381.245 5478975.75 6.8935 44.0874 $ proj -I -f %.4f +init=epsg:26915 184056.505 4809728.25 -96.899843.3739 767381.245 5478975.75 -89.314049.4047 = Anybody have any ideas what I am doing wrong? Do I somehow have to chain projections together to get from my 'from' projection to my 'to' projection? Thanks, Matt -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas ___ 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] problem with library
I use Mapscript on Debian: I had the same dbase.so problem. I've solved downloading php source and building manually the dbase.so from that source. Now it works. Bye, Carlo Daniel Morissette ha scritto: MapServer doesn't have any direct dependency on PHP's dbase module, so this is not a MapServer/MapScript problem, you could simply use php_mapscript without it. If you need the dbase module to deal with .dbf files then this is really a Ubuntu problem (it doesn't provide the dbase module) and the following article may help: http://boutell.livejournal.com/935243.html Daniel Guillermo Korell wrote: I have a problem using mapscrip for php5 on Ubuntu 8.04. I've an error when i want to load dynamically a library, in the following line: dl(php_dbase.so); the error is: *Warning*: dl() [function.dl http://piai04/prueba/function.dl]: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/php_dbase.so' - /usr/lib/php5/20060613+lfs/php_dbase.so: cannot open shared object file: No such file or directory in */home/gkorell/prueba/index.php* on line *2* I want to install this library for php but I don't found it. What can i do? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ing. Carlo Pelliconi [EMAIL PROTECTED] SIS.TER www.sis-ter.it via Mentana, 10 40026 Imola (BO) Italy tel +39 0542 364034 fax +39 0542 612130 ATTENZIONE! Questo documento è indirizzato esclusivamente al destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono soggette a riservatezza secondo i termini del D.Lgs. 196/2003 in materia di privacy e ne è proibita l'utilizzazione da parte di altri soggetti. Si ricorda che la diffusione l'utilizzo e/o la conservazione dei dati ricevuti per errore costituisce violazione di carattere penale ai sensi dell'art. 616 Codice penale (Violazione, sottrazione e soppressione di corrispondenza). Se avesse ricevuto per errore questo messaggio, La preghiamo cortesemente di contattare il mittente al più presto e di cancellare il messaggio subito dopo. Grazie. ATTENTION! This message is being sent from Sis.Ter S.p.A. and may contain information which is confidential or privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorized use of the content of this message is a breach of your duty to respect the confidentiality of the correspondence between other persons and can expose the responsible party to civil and/or criminal penalties (D.Lgs. 196/2003 Tutela della privacy e art. 616 Codice penale Violazione, sottrazione e soppressione di corrispondenza), and may constitute a more serious offence. Thanks. ACHTUNG! Dieses Dokument ist ausschließlich dem Empfänger vorbehalten. Die darin enthaltenen Informationen, auch jene in etwaigen Anlagen, gelten im Sinne des Dekrets Nr. 196/2003 in Sachen Privacy als streng vertraulich und dürfen von anderen Personen nicht verwende werden. Wer diese Mitteilung irrtümlicherweise erhält ist gebeten uns umgehend zu informieren und anschließend die Mitteilung zu vernichten. Vielen Dank. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Trubles with Zoom In
Look for zoomsize input in your template file. If it isn't defined, set the value to 2 for example (i.e. zoom factor=2) Hope this could be the solution. Bye, Carlo Santiago Banchero ha scritto: Hi, I' m going to start with mapserver and this is my first mail that I send to the list. The first problem that I have is the following: when I make a zoom in the image it's reduce until a little spot. I cheeked the code and I didn't find anything strange. I tried with another .map, that only contains layers shp, and it worked perfectly. But when I use PostGIS layers I have this problem. My layers are geographic wgs84 epsg:4326. Thank. Santiago -- Santiago Banchero ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ing. Carlo Pelliconi [EMAIL PROTECTED] SIS.TER www.sis-ter.it via Mentana, 10 40026 Imola (BO) Italy tel +39 0542 364034 fax +39 0542 612130 ATTENZIONE! Questo documento è indirizzato esclusivamente al destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono soggette a riservatezza secondo i termini del D.Lgs. 196/2003 in materia di privacy e ne è proibita l'utilizzazione da parte di altri soggetti. Si ricorda che la diffusione l'utilizzo e/o la conservazione dei dati ricevuti per errore costituisce violazione di carattere penale ai sensi dell'art. 616 Codice penale (Violazione, sottrazione e soppressione di corrispondenza). Se avesse ricevuto per errore questo messaggio, La preghiamo cortesemente di contattare il mittente al più presto e di cancellare il messaggio subito dopo. Grazie. ATTENTION! This message is being sent from Sis.Ter S.p.A. and may contain information which is confidential or privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorized use of the content of this message is a breach of your duty to respect the confidentiality of the correspondence between other persons and can expose the responsible party to civil and/or criminal penalties (D.Lgs. 196/2003 Tutela della privacy e art. 616 Codice penale Violazione, sottrazione e soppressione di corrispondenza), and may constitute a more serious offence. Thanks. ACHTUNG! Dieses Dokument ist ausschließlich dem Empfänger vorbehalten. Die darin enthaltenen Informationen, auch jene in etwaigen Anlagen, gelten im Sinne des Dekrets Nr. 196/2003 in Sachen Privacy als streng vertraulich und dürfen von anderen Personen nicht verwende werden. Wer diese Mitteilung irrtümlicherweise erhält ist gebeten uns umgehend zu informieren und anschließend die Mitteilung zu vernichten. Vielen Dank. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] support for georss feed ?
Hi all, Is there a way to render georss information on mapserver maps ? I need to render on the map some points about which I don't know the coordinates when I wrote the map file. PS I can't use openlayer because it is too heavy. any suggestion ? best regards Valerio Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione! http://www.ymailblogit.com/blog/___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Change symbol size
If you want scalable symbols: Layer-SYMBOLSCALEDENOM, (Layer-MINSCALEDENOM, Layer-MAXSCALEDENOM), Style-SIZE (Style-MINSIZE, Style-MAXSIZE). See the MAPFILE reference for usage information: http://mapserver.gis.umn.edu/docs/reference/mapfile See also: URL: http://mapserver.gis.umn.edu/docs/howto/cartosymbols 2.2. Symbol scaling Håvard Paul Alarcon wrote: Hello all, I have a problem i want to change the size of the symbol in order to zoom in or zoom out is there posible, iom using true type symbols thanks _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Håvard Tveite Department of Mathematical Sciences and Technology, UMB Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS, SLD, FilterEncoding and PropertyIsLike
Folks, I've found the trick ! Where OGC SLD specification says : PropertyIsLike wildCard=* singleChar=# escapeChar=! MapServer wants : PropertyIsLike wildCard=* singleChar=# escape=! Using the first expression with MapServer causes the filter set with it to apply to every records. Should I submit a ticket for this ? Guillaume Yewondwossen Assefa a écrit : Guillaume, Attaches is an sld I use for testing and mapsever returns the expected results. If you do not mind sharing your sld, you can send it to me and I can have a look. Best Regards, Guillaume Sueur wrote: actually it helped me going further in my analysis : when I use PropertyIsLike, it traps all the records, even those non matching with the pattern. Is that a mapserver bug on WMS-SLD handling ? Thanks Oscar Gomez a écrit : Hi Guillaume, In the past it worked for me, but I had to look very carefully at the symbology specification from OGC. Here you are my example: sld:Rule * * sld:Name / *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Title *-* ![CDATA[ * * ]] * * /sld:Title *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# ogc:Filter *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# ogc:PropertyIsLike wildCard=*** singleChar=*#* escapeChar=*!* * * * * * * ogc:PropertyName*ORIGENAGUA*/ogc:PropertyName * * ogc:Literal*Subter**/ogc:Literal * * /ogc:PropertyIsLike * * /ogc:Filter *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:PolygonSymbolizer *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Fill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:GraphicFill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Graphic *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Mark * * sld:WellKnownName*circle*/sld:WellKnownName *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Fill * * sld:CssParameter name=*fill**#A87000*/sld:CssParameter * * sld:CssParameter name=*fill-opacity**1.0*/sld:CssParameter * * /sld:Fill * * /sld:Mark * * sld:Size*1*/sld:Size * * /sld:Graphic * * /sld:GraphicFill * * /sld:Fill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Stroke * * sld:CssParameter name=*stroke**#A87000*/sld:CssParameter * * sld:CssParameter name=*stroke-width**1*/sld:CssParameter * * sld:CssParameter name=*stroke-opacity**1*/sld:CssParameter * * /sld:Stroke * * /sld:PolygonSymbolizer * * /sld:Rule I hope you find it useful. Best, Oscar On Fri, Jun 27, 2008 at 10:00 AM, Guillaume Sueur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Has anyone ever had a PropertyIsLike filter working on a WMS layer ? I have an SLD file with several rules, all of them with PropertyIsEqualTo Filter. It works ok. If I change one of these to PropertyIsLike (I add wildcard, singleChar and escapeChar as well), they ALL go wrong, none of the filters being used. All my objects are then shown with the default representation placed at the end of the file without any filter. Any idea about this strange behaviour ? Thanks -- Guillaume ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Oscar Gomez Visita mi blog!! http://ogomez2.blogspot.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS, SLD, FilterEncoding and PropertyIsLike
seen, thanks. shame on me for having followed the wrong specification paper ! But actually, isn't MapServer behaviour a bit weird when it applies the misconfigured filter on every record ? Guillaume [EMAIL PROTECTED] a écrit : [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] Received: from b50-11.minvenw.nl [145.50.39.11] with HTTP/1.1 (POST); Mon, 30 Jun 2008 11:30:40 +0200 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No Mapserver is right in this case it uses SLD 1.0 which is tied to Filter 1.0, see: http://schemas.opengis.net/filter/1.0.0/filter.xsd xsd:attribute name=escape type=xsd:string use=required/ Btw, in Filter 1.1 the OGC changed this to: http://schemas.opengis.net/filter/1.1.0/filter.xsd xsd:attribute name=escapeChar type=xsd:string use=required/ Best regards, Bart On Mon, 30 Jun 2008 11:19:04 +0200, Guillaume Sueur [EMAIL PROTECTED] wrote: Folks, I've found the trick ! Where OGC SLD specification says : PropertyIsLike wildCard=* singleChar=# escapeChar=! MapServer wants : PropertyIsLike wildCard=* singleChar=# escape=! Using the first expression with MapServer causes the filter set with it to apply to every records. Should I submit a ticket for this ? Guillaume Yewondwossen Assefa a écrit : Guillaume, Attaches is an sld I use for testing and mapsever returns the expected results. If you do not mind sharing your sld, you can send it to me and I can have a look. Best Regards, Guillaume Sueur wrote: actually it helped me going further in my analysis : when I use PropertyIsLike, it traps all the records, even those non matching with the pattern. Is that a mapserver bug on WMS-SLD handling ? Thanks Oscar Gomez a écrit : Hi Guillaume, In the past it worked for me, but I had to look very carefully at the symbology specification from OGC. Here you are my example: sld:Rule * * sld:Name / *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Title *-* ![CDATA[ * * ]] * * /sld:Title *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# ogc:Filter *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# ogc:PropertyIsLike wildCard=*** singleChar=*#* escapeChar=*!* * * * * * * ogc:PropertyName*ORIGENAGUA*/ogc:PropertyName * * ogc:Literal*Subter**/ogc:Literal * * /ogc:PropertyIsLike * * /ogc:Filter *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:PolygonSymbolizer *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Fill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:GraphicFill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Graphic *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Mark * * sld:WellKnownName*circle*/sld:WellKnownName *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Fill * * sld:CssParameter name=*fill**#A87000*/sld:CssParameter * * sld:CssParameter name=*fill-opacity**1.0*/sld:CssParameter * * /sld:Fill * * /sld:Mark * * sld:Size*1*/sld:Size * * /sld:Graphic * * /sld:GraphicFill * * /sld:Fill *-* http://www12.asphost4free.com/ogomez2/temp/wise.xml# sld:Stroke * * sld:CssParameter name=*stroke**#A87000*/sld:CssParameter * * sld:CssParameter name=*stroke-width**1*/sld:CssParameter * * sld:CssParameter name=*stroke-opacity**1*/sld:CssParameter * * /sld:Stroke * * /sld:PolygonSymbolizer * * /sld:Rule I hope you find it useful. Best, Oscar On Fri, Jun 27, 2008 at 10:00 AM, Guillaume Sueur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Has anyone ever had a PropertyIsLike filter working on a WMS layer ? I have an SLD file with several rules, all of them with PropertyIsEqualTo Filter. It works ok. If I change one of these to PropertyIsLike (I add wildcard, singleChar and escapeChar as well), they ALL go wrong, none of the filters being used. All my objects are then shown with the default representation placed at the end of the file without any filter. Any idea about this strange behaviour ? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[MAPSERVER-USERS] Labeling Road
Hi List, I am newbie to this forum stuck in a problem. Hope to get help from this forum. I want to show labels on the road along with road directions fortunately I have successfully implemented it, but at some places on the road the label is not getting displayed on the road. It comes above the road or at road boundary, not in between the road boundary. If someone has any idea, then please share with me. Thanks in advance. Yours suggestions will be appreciated. -- View this message in context: http://www.nabble.com/Labeling-Road-tp18192553p18192553.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [MAPSERVER-USERS] Change symbol size
Please tell us the forum in detail that what are you doing to display a symbol, so that we can get the problem more clearly. pag66 wrote: Hello all, I have a problem i want to change the size of the symbol in order to zoom in or zoom out is there posible, iom using true type symbols thanks _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://www.nabble.com/Change-symbol-size-tp18163325p18192698.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer Integration options?
Hi all. I'm doing a search to find out which softwares/packages/libraries i can use with mapserver for a more featureful webgis. for e.g. i know that i can use spatial database PostGIS to hold my data as a back-end or use pgRouting for best path analysis. but what about other features? I'm really interested to hear about other's experiences. Regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: [mapserver-dev] MS4W packaging was: MapServer 5.2 Beta 3 Available
Steve, would you mind filing your MS4W requests in the bug tracker, so they don't get forgotten? http://bugzilla.maptools.org/ thanks. --- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ On 29-Jun-08, at 3:58 PM, Stephen Woodbridge wrote: MS4W packaging guys, When you have a chance to package up 5.2 can you also include fribidi2 support in that. I have clients that interested in using it for Arabic and you would make a bunch of people very happy if you can add that. Thanks, -Steve W ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem while using Openlayer
Are you referring to: http://developer.berlios.de/projects/openlayer ? 2008/6/30 Prasad B [EMAIL PROTECTED]: Respt sir/madam, i have developing one application in MAPSERVER using C#.NET MapScript, i want to use OpenLayer library to my MAP, So please sir can u help me for how to use OpenLayer Library in my application. -- Thanks Regards, Prasad A. Bhale iWork Technologies Pvt. Ltd. Mobile:+91-9960051912 Visit us: www.iworktech.com This email message and any attachments is confidential and intended only for the use of an individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. iWork does not accept liability for any errors, omissions, corruption or virus in the contents of this message or any attachments that arise as a result of e-mail transmission. If you have received this communication in error, please notify the sender and delete the original message and its attachments immediately. -- Thanks Regards, Prasad A. Bhale iWork Technologies Pvt. Ltd. Mobile:+91-9960051912 Visit us: www.iworktech.com This email message and any attachments is confidential and intended only for the use of an individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. iWork does not accept liability for any errors, omissions, corruption or virus in the contents of this message or any attachments that arise as a result of e-mail transmission. If you have received this communication in error, please notify the sender and delete the original message and its attachments immediately. -- Thanks Regards, Prasad A. Bhale iWork Technologies Pvt. Ltd. Mobile:+91-9960051912 Visit us: www.iworktech.com This email message and any attachments is confidential and intended only for the use of an individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. iWork does not accept liability for any errors, omissions, corruption or virus in the contents of this message or any attachments that arise as a result of e-mail transmission. If you have received this communication in error, please notify the sender and delete the original message and its attachments immediately. ___ 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] Re: [mapserver-dev] MS4W packaging was: MapServer 5.2 Beta 3 Available
http://bugzilla.maptools.org/show_bug.cgi?id=1914 Jeff McKenna wrote: Steve, would you mind filing your MS4W requests in the bug tracker, so they don't get forgotten? http://bugzilla.maptools.org/ thanks. --- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ On 29-Jun-08, at 3:58 PM, Stephen Woodbridge wrote: MS4W packaging guys, When you have a chance to package up 5.2 can you also include fribidi2 support in that. I have clients that interested in using it for Arabic and you would make a bunch of people very happy if you can add that. Thanks, -Steve W ___ 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] Projection help: proj command line
That worked fantastically - Thank You Very Much! Matt On Mon, Jun 30, 2008 at 2:05 AM, Dirk Jesko [EMAIL PROTECTED] wrote: Hi Matthew, try cs2cs instead of proj, e.g. cs2cs +init=epsg:26915 +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs With proj you have to do the inverse projection from epsg:26915 (your from projection) to latlon/wgs84 (epsg:4326) first, proj -I -f %.8f +init=epsg:26915 In a second step project the resulting latlon coordinate into your to-projection: proj -f %.4f +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs Both version should work. Just for comparison, I got the following result for the first point of your extent: epsg:26915: 184056.505, 4809728.25 epsg:4326 : -96.89976708 43.37391004 your to projection: -10786832.7293 5369059.0540 I hope, that this is correct and will help. Dirk Hi, This question is tangential to Mapserver, but critical to me nonetheless. I'm trying to reproject a shapefile in a mapfile from = PROJECTION init=epsg:26915 END = to = PROJECTION +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs END = my extent in the 'from' projection are: = EXTENT 184056.505 4809728.25 767381.245 5478975.75 = Can someone help me figure out what my EXTENT should be in my 'to' projection? I've tried the following extents derived from the 'proj' command line outputs as extents, but was not successful: = $ proj -I -f %.4f +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +wktext +no_defs 184056.505 4809728.25 1.6534 39.6121 767381.245 5478975.75 6.8935 44.0874 $ proj -I -f %.4f +init=epsg:26915 184056.505 4809728.25 -96.899843.3739 767381.245 5478975.75 -89.314049.4047 = Anybody have any ideas what I am doing wrong? Do I somehow have to chain projections together to get from my 'from' projection to my 'to' projection? Thanks, Matt -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GetFeatureInfo from PostGis database
Hi list, I'm trying to access data fields using getfeatureinfo from a PostGIS database. I've read some articles about it, but it seems that I'm a newbie. I've no problem with data access when I do some getmap requests. Here is a part of my mapfile : LAYER NAMEbdparcellaire_numero TYPEannotation STATUS ON DUMP TRUE TEMPLATE blank.html MINSCALE 100 MAXSCALE 1 CONNECTIONTYPEpostgis CONNECTIONuser=toto password=toto dbname=bdparcellaire_2007 host=172.23.208.134 port=5432 DATAthe_geom FROM (select numero, feuille, the_geom FROM localisant) as foo USING UNIQUE the_geom USING SRID=27582 LABELITEMnumero CLASS LABEL TYPE TRUETYPE WRAP # COLOR 0 0 0 OUTLINECOLOR 254 254 254 FONT arial SIZE 9 POSITION CC FORCE false PARTIALS false END END METADATA WMS_TITLE Numéros de parcelle (Données BD Parcellaire® - Copyright IGN) wms_abstract Visible entre les échelles 1/100 et 1/10 000 wms_srs EPSG:27582 EPSG:27581 EPSG:27583 EPSG:27584 EPSG:27591 EPSG:27592 EPSG:27593 EPSG:27594 EPSG:2154 EPSG:23030 EPSG:23031 EPSG:23032 EPSG:32630 EPSG:32631 EPSG:32632 EPSG:4326 wms_extent 47650 1620400 1197850 2677450 WMS_ENCODING UTF-8 GML_INCLUDE_ITEMS all END END When I try this getfeatureinfo request, the XML returned is not complete : The request : http://myIP/cgi-bin/mapserv?map=/data/carto/ref/bdparcellaire/bdparcellaire_2007_direct.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoSRS=EPSG%3A27582WIDTH=600HEIGHT=400BBOX=643470,1743572,643590,1743652LAYERS=bdparcellaire_numeroSTYLES=FORMAT=image%2FpngQUERY_LAYERS=bdparcellaire_numeroX=167Y=175INFO_FORMAT=application%2Fvnd.ogc.gmlFEATURE_COUNT=999 The entire XML : ?xml version=1.0 encoding=UTF-8? msGMLOutput xmlns:gml=http://www.opengis.net/gml; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; bdparcellaire_numero_layer Why it doesn't work ? I know that it should be in my DATA object in my mapfile, but I don't know what exactly... Thanks a lot... ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] no geotiff in mapserver rpm?
Why does the mapserv program in the mapserver-5.0.2-4.2 rpm not support geotiff as input? Isn't geotiff a common format for this type of application? Or is it that geotiff files are served up as (plain) raster images with a shapefile? Thanks, Wendell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] no geotiff in mapserver rpm?
Wendell Turner wrote: Why does the mapserv program in the mapserver-5.0.2-4.2 rpm not support geotiff as input? Isn't geotiff a common format for this type of application? Or is it that geotiff files are served up as (plain) raster images with a shapefile? Wendell, How did you determine that geotiff is not supported? Generally MapServer is built --without-tiff allowing tiff support to be provided by GDAL. It might also be helpful if you indicated the source of the .rpm you are referring to since I don't think it is an official product of the project and there are a number of sources for rpms. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| President OSGeo, http://osgeo.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] no geotiff in mapserver rpm?
On Mon, Jun 30, 2008 at 01:58:22PM -0400, Frank Warmerdam wrote: Wendell Turner wrote: Why does the mapserv program in the mapserver-5.0.2-4.2 rpm not support geotiff as input? Isn't geotiff a common format for this type of application? Or is it that geotiff files are served up as (plain) raster images with a shapefile? Wendell, How did you determine that geotiff is not supported? Generally MapServer is built --without-tiff allowing tiff support to be provided by GDAL. It might also be helpful if you indicated the source of the .rpm you are referring to since I don't think it is an official product of the project and there are a number of sources for rpms. Thank you for the quick response. The rpm was from one of the CentOS5 repositories, actual rpm is mapserver-5.0.2-4.2.i386.rpm, I think I got it from somewhere at rpm.pbone.net, possibly here http://rpm.pbone.net/index.php3/stat/4/idpl/6383115/com/mapserver-5.0.2-4.2.i386.rpm.html. mapserv -v does not show 'input=geotiff', which I thought was bad. So then, the proper way is to generate a shapefile for the geotiff file, have mapserver read the shapefile for parameters, and use the gdal library to do the geotiff/raster processing? Is a raster image with associated shapefile about the same as a geotiff (as far as pixels + metadata about the position, projection, etc)? Thanks again, Wendell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] GetFeatureInfo from PostGis database
Hi, I've tried to use the gid column, but the getfeatureinfo reports me an error : Postgresql reports the error as #39;ERREUR: la colonne «gid» n#39;existe pas #39; The error tells me that the gid column doesn't exist. You can trust me, I have a field called gid. Thanks Le 30/06/2008 19:49, Bart van den Eijnden (OSGIS) (par Internet) a écrit : You shouldn't use the geometry column as the unique column (USING UNIQUE X). Try an integer type column for that. Best regards, Bart SAEZ Laurent - CETE Méditerr./DI/ETER wrote: Hi list, I'm trying to access data fields using getfeatureinfo from a PostGIS database. I've read some articles about it, but it seems that I'm a newbie. I've no problem with data access when I do some getmap requests. Here is a part of my mapfile : LAYER NAMEbdparcellaire_numero TYPEannotation STATUS ON DUMP TRUE TEMPLATE blank.html MINSCALE 100 MAXSCALE 1 CONNECTIONTYPEpostgis CONNECTIONuser=toto password=toto dbname=bdparcellaire_2007 host=172.23.208.134 port=5432 DATAthe_geom FROM (select numero, feuille, the_geom FROM localisant) as foo USING UNIQUE the_geom USING SRID=27582 LABELITEMnumero CLASS LABEL TYPE TRUETYPE WRAP # COLOR 0 0 0 OUTLINECOLOR 254 254 254 FONT arial SIZE 9 POSITION CC FORCE false PARTIALS false END END METADATA WMS_TITLE Numéros de parcelle (Données BD Parcellaire® - Copyright IGN) wms_abstract Visible entre les échelles 1/100 et 1/10 000wms_srs EPSG:27582 EPSG:27581 EPSG:27583 EPSG:27584 EPSG:27591 EPSG:27592 EPSG:27593 EPSG:27594 EPSG:2154 EPSG:23030 EPSG:23031 EPSG:23032 EPSG:32630 EPSG:32631 EPSG:32632 EPSG:4326 wms_extent 47650 1620400 1197850 2677450 WMS_ENCODING UTF-8 GML_INCLUDE_ITEMS all END END When I try this getfeatureinfo request, the XML returned is not complete : The request : http://myIP/cgi-bin/mapserv?map=/data/carto/ref/bdparcellaire/bdparcellaire_2007_direct.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoSRS=EPSG%3A27582WIDTH=600HEIGHT=400BBOX=643470,1743572,643590,1743652LAYERS=bdparcellaire_numeroSTYLES=FORMAT=image%2FpngQUERY_LAYERS=bdparcellaire_numeroX=167Y=175INFO_FORMAT=application%2Fvnd.ogc.gmlFEATURE_COUNT=999 The entire XML : ?xml version=1.0 encoding=UTF-8? msGMLOutput xmlns:gml=http://www.opengis.net/gml; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; bdparcellaire_numero_layer Why it doesn't work ? I know that it should be in my DATA object in my mapfile, but I don't know what exactly... Thanks a lot... ___ 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] GetFeatureInfo from PostGis database
add gid to the SQL string : DATA the_geom FROM (select gid, numero, feuille, the_geom FROM localisant) as foo USING UNIQUE gid USING SRID=27582 and try to use EPSG:27572 as 27582 is deprecated. Regards, GUillaume SAEZ Laurent - CETE Méditerr./DI/ETER a écrit : Hi, I've tried to use the gid column, but the getfeatureinfo reports me an error : Postgresql reports the error as #39;ERREUR: la colonne «gid» n#39;existe pas #39; The error tells me that the gid column doesn't exist. You can trust me, I have a field called gid. Thanks Le 30/06/2008 19:49, Bart van den Eijnden (OSGIS) (par Internet) a écrit : You shouldn't use the geometry column as the unique column (USING UNIQUE X). Try an integer type column for that. Best regards, Bart SAEZ Laurent - CETE Méditerr./DI/ETER wrote: Hi list, I'm trying to access data fields using getfeatureinfo from a PostGIS database. I've read some articles about it, but it seems that I'm a newbie. I've no problem with data access when I do some getmap requests. Here is a part of my mapfile : LAYER NAMEbdparcellaire_numero TYPEannotation STATUS ON DUMP TRUE TEMPLATE blank.html MINSCALE 100 MAXSCALE 1 CONNECTIONTYPEpostgis CONNECTIONuser=toto password=toto dbname=bdparcellaire_2007 host=172.23.208.134 port=5432 LABELITEMnumero CLASS LABEL TYPE TRUETYPE WRAP # COLOR 0 0 0 OUTLINECOLOR 254 254 254 FONT arial SIZE 9 POSITION CC FORCE false PARTIALS false END END METADATA WMS_TITLE Numéros de parcelle (Données BD Parcellaire® - Copyright IGN) wms_abstract Visible entre les échelles 1/100 et 1/10 000wms_srs EPSG:27582 EPSG:27581 EPSG:27583 EPSG:27584 EPSG:27591 EPSG:27592 EPSG:27593 EPSG:27594 EPSG:2154 EPSG:23030 EPSG:23031 EPSG:23032 EPSG:32630 EPSG:32631 EPSG:32632 EPSG:4326 wms_extent 47650 1620400 1197850 2677450 WMS_ENCODING UTF-8 GML_INCLUDE_ITEMS all END END When I try this getfeatureinfo request, the XML returned is not complete : The request : http://myIP/cgi-bin/mapserv?map=/data/carto/ref/bdparcellaire/bdparcellaire_2007_direct.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoSRS=EPSG%3A27582WIDTH=600HEIGHT=400BBOX=643470,1743572,643590,1743652LAYERS=bdparcellaire_numeroSTYLES=FORMAT=image%2FpngQUERY_LAYERS=bdparcellaire_numeroX=167Y=175INFO_FORMAT=application%2Fvnd.ogc.gmlFEATURE_COUNT=999 The entire XML : ?xml version=1.0 encoding=UTF-8? msGMLOutput xmlns:gml=http://www.opengis.net/gml; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; bdparcellaire_numero_layer Why it doesn't work ? I know that it should be in my DATA object in my mapfile, but I don't know what exactly... Thanks a lot... ___ 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