Re: [mapserver-users] Re: fedora 14 cannot find -lpgport
On 11/18/2010 10:35, Sebastian E. Ovide wrote: from http://forums.fedoraforum.org/showthread.php?p=1417824#post1417824 it looks like libpgport isn't supported by fedora... Is there any other way to build MapServer without that library ? disable Postgis support ? I don't use Fedora, but I reported a similar problem with the FreeBSD port, which looks like yours: http://www.freebsd.org/cgi/query-pr.cgi?pr=145002 On Wed, Nov 17, 2010 at 3:49 PM, Sebastian E. Ovide sebastian.ov...@gmail.com mailto:sebastian.ov...@gmail.com wrote: Hi Guys, I'm building mapserver in Fedora 14 and getting /usr/bin/ld: cannot find -lpgport collect2: ld returned 1 exit status doing yum list | grep pgport and yum provides *pgport* I cannot see any package with pgport... any ideas ? -- Sebastian E. Ovide -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. attachment: jcigar.vcf___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: fedora 14 cannot find -lpgport
From the Fedora mailing list: For some (reasonable) reason, usually Fedora strongly discourages to ship static archives in binary rpms: https://fedoraproject.org/wiki/Packaging/Guidelines#Packaging_Static_Libraries You can see this also happened on postgresql: http://pkgs.fedoraproject.org/gitweb/?p=postgresql.git;a=commitdiff;h=a6a1e9bfab6192bbdaea41e88368ae7d242316d7 You should really check if libpgport.a is really needed, i.e. check it the package you are trying to build supports dynamic linkage (against libpgport.so). On Thu, Nov 18, 2010 at 10:22 AM, Julien Cigar jci...@ulb.ac.be wrote: On 11/18/2010 10:35, Sebastian E. Ovide wrote: from http://forums.fedoraforum.org/showthread.php?p=1417824#post1417824 it looks like libpgport isn't supported by fedora... Is there any other way to build MapServer without that library ? disable Postgis support ? I don't use Fedora, but I reported a similar problem with the FreeBSD port, which looks like yours: http://www.freebsd.org/cgi/query-pr.cgi?pr=145002 On Wed, Nov 17, 2010 at 3:49 PM, Sebastian E. Ovide sebastian.ov...@gmail.com mailto:sebastian.ov...@gmail.com wrote: Hi Guys, I'm building mapserver in Fedora 14 and getting /usr/bin/ld: cannot find -lpgport collect2: ld returned 1 exit status doing yum list | grep pgport and yum provides *pgport* I cannot see any package with pgport... any ideas ? -- Sebastian E. Ovide -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] vertical alignment of symbols along a line 2
http://osgeo-org.1803224.n2.nabble.com/vertical-alignment-of-symbols-along-a-line-td4617860.html i got the same problem. OFFSET -99 do nothing someone got new tips ? Marc-André Trottier ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Auto- classify by attribute value
Hi, I have a vector shp with almost 8000 records. Example of table: Column1 - Column2 - Column3 - Combi - 0 00 0_0_0 1 00 1_0_1 0 01 0_1_0 There are 260 combination in attribute value Combi. If I fix a CLASS for one like: ... CLASS _expression_ "0_0_0" STYLE COLOR 25 255 255 OUTLINECOLOR 0 0 0 END END can I generate an automatic classification for all the 259 other classes? Thanks. Simone -- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ?
Hi All, everything is working find from shell. I register the Oracle libraries with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH [...@mapserver-fc14 cgi-bin]$ cat test.sh #!/bin/sh export ORACLE_HOME=/home/gis/libs/instantclient_11_2/ export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/ /var/www/cgi-bin/mapserv $* and still getting [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] /var/www/cgi-bin/mapserv: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of script headers: test.sh any ideas ? note: this problem is on a Fedora 14 -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ?
Does the file /home/gis/libs/instantclient_11_2/libclntsh.so.11.1 exist and is the full path to its location reachable by the user running the Apache server? i.e. check the permissions on all subdirs, especially /home/gis which is likely to have access restrictions by default. Sebastian E. Ovide wrote: Hi All, everything is working find from shell. I register the Oracle libraries with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH [...@mapserver-fc14 cgi-bin]$ cat test.sh #!/bin/sh export ORACLE_HOME=/home/gis/libs/instantclient_11_2/ export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/ /var/www/cgi-bin/mapserv $* and still getting [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] /var/www/cgi-bin/mapserv: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of script headers: test.sh any ideas ? note: this problem is on a Fedora 14 -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ?
Sebastian, ---Original Message--- From: Sebastian E. Ovide sebastian.ov...@gmail.com To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ? Sent: Nov 18 '10 11:54 Hi All, everything is working find from shell. I register the Oracle libraries with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH [...@mapserver-fc14 cgi-bin]$ cat test.sh #!/bin/sh export ORACLE_HOME=/home/gis/libs/instantclient_11_2/ export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/ /var/www/cgi-bin/mapserv $* and still getting [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] /var/www/cgi-bin/mapserv: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory Does that message means that the error occurs during the process of loading libclntsh.so.11.1 and therefor that library was found but that library is trying to load another one that is not on the path? [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of script headers: test.sh any ideas ? note: this problem is on a Fedora 14-- Sebastian E. Ovide ___ mapserver-users mailing list [LINK: compose.php?to=mapserver-us...@lists.osgeo.org] mapserver-users@lists.osgeo.org [LINK: http://lists.osgeo.org/mailman/listinfo/mapserver-users] 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] Mapserver + OCI error while loading shared libraries from Apache ?
You may have to set those values inside your httpd.conf Eg Location /cgi-bin/ SetEnv ORACLE_HOME /home/gis/libs/instantclient_11_2/ SetEnv LD_LIBRARY_PATH /home/gis/libs/instantclient_11_2/ /Location On 11/18/10 12:01 PM, Ivan Lucena ivan.luc...@pmldnet.com wrote: Sebastian, ---Original Message--- From: Sebastian E. Ovide sebastian.ov...@gmail.com To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ? Sent: Nov 18 '10 11:54 Hi All, everything is working find from shell. I register the Oracle libraries with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH [...@mapserver-fc14 cgi-bin]$ cat test.sh #!/bin/sh export ORACLE_HOME=/home/gis/libs/instantclient_11_2/ export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/ /var/www/cgi-bin/mapserv $* and still getting [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] /var/www/cgi-bin/mapserv: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory Does that message means that the error occurs during the process of loading libclntsh.so.11.1 and therefor that library was found but that library is trying to load another one that is not on the path? [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of script headers: test.sh any ideas ? note: this problem is on a Fedora 14-- Sebastian E. Ovide ___ mapserver-users mailing list [LINK: compose.php?to=mapserver-us...@lists.osgeo.org] mapserver-users@lists.osgeo.org [LINK: http://lists.osgeo.org/mailman/listinfo/mapserver-users] 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] Mapserver + OCI error while loading shared libraries from Apache ?
you are right... the problem was that in Fedora the homes have access restrictions by default ... thanks On Thu, Nov 18, 2010 at 5:00 PM, Daniel Morissette dmorisse...@mapgears.com wrote: Does the file /home/gis/libs/instantclient_11_2/libclntsh.so.11.1 exist and is the full path to its location reachable by the user running the Apache server? i.e. check the permissions on all subdirs, especially /home/gis which is likely to have access restrictions by default. Sebastian E. Ovide wrote: Hi All, everything is working find from shell. I register the Oracle libraries with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH [...@mapserver-fc14 cgi-bin]$ cat test.sh #!/bin/sh export ORACLE_HOME=/home/gis/libs/instantclient_11_2/ export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/ /var/www/cgi-bin/mapserv $* and still getting [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] /var/www/cgi-bin/mapserv: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of script headers: test.sh any ideas ? note: this problem is on a Fedora 14 -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Auto- classify by attribute value
On 11/18/2010 10:10 AM, Simone Frigerio wrote: Hi, I have a vector shp with almost 8000 records. Example of table: Column1 - Column2 - Column3 - Combi - 0 0 0 0_0_0 1 0 0 1_0_1 0 0 1 0_1_0 There are 260 combination in attribute value Combi. If I fix a CLASS for one like: ... CLASS EXPRESSION 0_0_0 STYLE COLOR 25 255 255 OUTLINECOLOR 0 0 0 END END can I generate an automatic classification for all the 259 other classes? Thanks. Simone -- Yes. With a little perl. I do the same thing with my land survey layers. -Andy ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 2
Hi All, I'm using an map file that works fine on one server, but for some reason on another server (just installed: Fedora) it is giving this error: [Thu Nov 18 17:23:03 2010].578122 msProcessProjection(): Projection library error. no system list, errno: 2 I've already set DEBUG 5 and CONFIG CPL_DEBUG ON bat I cannot find any extra information that could help to understand what the problem is.. (I've built mapserver with debug flag) any ideas ? -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 2
Hi, the projection-lib cannot find the epsg file, where all the projections are defined. Add CONFIG PROJ_LIB /usr/local/share/proj/nad your mapfile (you may have to adjust the path). Cheers, Michael 2010/11/18 Sebastian E. Ovide sebastian.ov...@gmail.com: Hi All, I'm using an map file that works fine on one server, but for some reason on another server (just installed: Fedora) it is giving this error: [Thu Nov 18 17:23:03 2010].578122 msProcessProjection(): Projection library error. no system list, errno: 2 I've already set DEBUG 5 and CONFIG CPL_DEBUG ON bat I cannot find any extra information that could help to understand what the problem is.. (I've built mapserver with debug flag) any ideas ? -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- --- Michael Schulz msch...@webgis.de in medias res Gesellschaft für Informationstechnologie mbH Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 http://www.webgis.de / http://www.zopecms.de -- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 2
solved with yum install proj-epsg On Thu, Nov 18, 2010 at 5:31 PM, Michael Schulz msch...@webgis.de wrote: Hi, the projection-lib cannot find the epsg file, where all the projections are defined. Add CONFIG PROJ_LIB /usr/local/share/proj/nad your mapfile (you may have to adjust the path). Cheers, Michael 2010/11/18 Sebastian E. Ovide sebastian.ov...@gmail.com: Hi All, I'm using an map file that works fine on one server, but for some reason on another server (just installed: Fedora) it is giving this error: [Thu Nov 18 17:23:03 2010].578122 msProcessProjection(): Projection library error. no system list, errno: 2 I've already set DEBUG 5 and CONFIG CPL_DEBUG ON bat I cannot find any extra information that could help to understand what the problem is.. (I've built mapserver with debug flag) any ideas ? -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- --- Michael Schulz msch...@webgis.de in medias res Gesellschaft für Informationstechnologie mbH Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 http://www.webgis.de / http://www.zopecms.de -- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] joining SQL Server data to PostGIS data
Good afternoon. I am trying to find out if it is possible to link data from a Microsoft SQL Server ODBC connection to PostGIS data in a MapServer layer definition. I have found information on Virtual Spatial Data (http://mapserver.org/input/vector/VirtualSpatialData.html), but not how to connect the two databases together. Is this a possible? If so, is there an example somewhere? Any help would be greatly appreciated. Thanks! Dara Dara Olson ANA GIS Specialist Great Lakes Indian Fish Wildlife Commission P.O. Box 9, 72682 Maple Street Odanah, WI 54861 Phone: (715) 682-6619 ext.129 Email: dol...@glifwc.org http://maps.glifwc.org___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Auto- classify by attribute value
You could use attribute binding so you could attach another column like so: Column1 - Column2 - Column3 - Combi - Color 0000_0_0#ff 1001_0_1#00ff00 0010_1_0#00 Basically you'd assign color ahead of time based on the values of columns 1-3. Wouldn't need the Combi attribute then. Your class would look like: CLASS STYLE COLOR [Color] OUTLINECOLOR 0 0 0 END END Downside is that you can't generate a legend since everything is dynamic, but if you can live without that this approach would work. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Simone Frigerio Sent: Thursday, November 18, 2010 10:10 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Auto- classify by attribute value Hi, I have a vector shp with almost 8000 records. Example of table: Column1 - Column2 - Column3 - Combi - 0000_0_0 1001_0_1 0010_1_0 There are 260 combination in attribute value Combi. If I fix a CLASS for one like: ... CLASS EXPRESSION 0_0_0 STYLE COLOR 25 255 255 OUTLINECOLOR 0 0 0 END END can I generate an automatic classification for all the 259 other classes? Thanks. Simone -- [cid:image001.gif@01CB871C.B58B9950] inline: image001.gif___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Label backgroundcolor
I know that you can set a shadow for the backgroundcolor (billboard). Can you increase the size of the billboard? E.g. 5 pixels all of the way around? Thanks, David. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users