Re: [MapServer-users] Symbol not found: _loadParams

2024-01-22 Thread Moen, Paul T. via MapServer-users
=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF Thanks, From: MapServer-users on behalf of Moen, Paul T. via MapServer-users Date: Saturday, January 20, 2024 at 8:25 AM To: mapserver-users@lists.osgeo.org Subject: [MapServer-users] Symbol not found

[MapServer-users] Symbol not found: _loadParams

2024-01-20 Thread Moen, Paul T. via MapServer-users
Does anyone know where to begin to find the origins of this error? admin$ mapserv -v dyld[23010]: Symbol not found: _loadParams Referenced from: /usr/local/bin/mapserv Expected in: unknown Abort trap: 6 Thanks, ___ MapServer-users

Re: [mapserver-users] PostgreSQL authentication method.

2021-02-19 Thread Moen, Paul T.
his, the compile works fine and scram-sha-256 authentication works as expected. Thanks, Paul From: Carlos Ruiz Date: Thursday, February 18, 2021 at 5:53 PM To: "Moen, Paul T." , Steve Lime Cc: "mapserver-users@lists.osgeo.org" Subject: Re: [mapserver-users] PostgreSQL

[mapserver-users] PostgreSQL authentication method.

2021-02-18 Thread Moen, Paul T.
I recently tried a Mapserver layer connected to a PostgreSQL 13.2 database that had password_encryption = scram-sha-256. I was unsuccessful in getting it to work until I switched it to md5 and reset the passwords. The following error was logged and the interesting part seems to be

[mapserver-users] Migrating to PHP SWIG drawFeature missing

2021-02-06 Thread Moen, Paul T.
The ‘native’ PHP MapScript will go away with MapServer 8. Will all the functionality be added to the SWIG PHP MapScript before that happens?  I tried the transition with the change to MapServer 7.4 and was unsuccessful do to missing pieces (or my lack of knowledge).  Thankfully, others also

Re: [mapserver-users] PHP MapScript queryByPoint fails successive query.

2018-12-13 Thread Moen, Paul T.
.6695573380961 From: "Lime, Steve D (MNIT)" Date: Thursday, December 13, 2018 at 10:45 AM To: Paul Moen , "mapserver-users@lists.osgeo.org" Subject: Re: PHP MapScript queryByPoint fails successive query. CAUTION: This email originated from an outside source. Do n

[mapserver-users] PHP MapScript queryByPoint fails successive query.

2018-12-13 Thread Moen, Paul T.
I am trying to query a raster at 2 points in a single php file using php mapscript. 1. I create a map object. 2. I get a layer object from my raster 3. I create 2 point objects. 4. I query the raster layer object with queryByPoint using point 1 and it is successful, except that it

Re: [mapserver-users] PHP mapscript createLegendIcon doesn't follow style maxscaledenom

2017-03-30 Thread Moen, Paul T.
Sorry I forgot to say that I have tried the script with the following versions with the same results. MapServer version 7.0.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER

[mapserver-users] PHP mapscript createLegendIcon doesn't follow style maxscaledenom

2017-03-30 Thread Moen, Paul T.
I am finding that createLegendIcon returns a different legend item than what is used in the map output when using scaledenom in the style. Below is a test script that produces what I am talking about. The script will create 4 images. map_scale_873.png -> map->draw output with a 873 scaledenom

[mapserver-users] IN operator via queryByAttribute no longer works in php-mapscript Mapserver 7.0.2

2016-10-20 Thread Moen, Paul T.
I cannot get the IN operator to work with queryByAttributes in the new version of php_mapscript. I see nothing obvious mentioned in the migration guide and have found no examples in the documentation on the syntax expected by Mapserver 7.0.2. The following queryByAttribute using an IN clause

Re: [mapserver-users] querybyattributes in version 7

2016-10-20 Thread Moen, Paul T.
Try putting brackets around the field and parenthesis around the query string. $Layer-> querybyattibutes ( "col", "([col] > 0 AND [col] < 100)”) Paul From: mapserver-users on behalf of Moretti Edmar Date: Wednesday, October

Re: [mapserver-users] WMS request fails when spaces are encoded as plus symbol in query part of URL

2015-07-06 Thread Moen, Paul T.
-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org] on behalf of Moen, Paul T. [pm...@nd.govmailto:pm...@nd.gov] Sent: Tuesday, August 19, 2014 4:56 PM To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS request fails when

Re: [mapserver-users] WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-20 Thread Moen, Paul T.
From: mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org] on behalf of Moen, Paul T. [pm...@nd.govmailto:pm...@nd.gov] Sent: Tuesday, August 19, 2014 4:56 PM

[mapserver-users] WMS request fails when spaces are encoded as plus symbol in query part of URL

2014-08-19 Thread Moen, Paul T.
Hi all, We are consuming WMS services hosted by ESRI ArcGIS Server 10.0. The server was upgraded to ArcGIS Server 10.2.2 and we no longer can access layer names with spaces. This is the server’s capabilities.

[mapserver-users] How to combine all included map files in to one production map file.

2014-07-16 Thread Moen, Paul T.
Is there an easy way to combine all included map files into a single map file? The includes make it easy to organize the map file, but I want to combine all of them into one map file that will be used for debug or production. The only thing I found related to what I want is specifically listed

Re: [mapserver-users] postgis layer draws much slower than psql select statement

2013-12-03 Thread Moen, Paul T.
your query to speed things up, and/or eventually add your own !BOX! filtering to make a more efficient use of indexes (c.f. near the end of http://mapserver.org/input/vector/postgis.html#data-access-connection-meth od ) -- thomas On 3 December 2013 17:45, Moen, Paul T. pm...@nd.gov wrote: I am

Re: [mapserver-users] Change mouse icon from default

2011-01-31 Thread Moen, Paul T.
This is part of html and css rather than mapserver. If you have control over the map image, you cat set the cursor a specific type. See http://www.w3schools.com/CSS/pr_class_cursor.asp for a list of cursors and how to do it. From: Bistrais, Bob

Re: [mapserver-users] MrSID How To

2010-08-11 Thread Moen, Paul T.
LAYER GROUP Raster Images TYPE RASTER NAME MrSid STATUS ON DATA sidfile.sid END Your version of gdal must support the MrSID format. To find out, type the command 'gdal_translate --formats' to see if it does. This command works on Linux and Mac (Unix). I don't know if it will work with

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Moen, Paul T.
This is the error I get when dumping the error stack as described below. Error in msEvalRegex(): String failed expression test. On Feb 9, 2010, at 7:51 AM, Daniel Morissette wrote: Lime, Steve D (DNR) wrote: This will print the entire error stack one per line. PHP-MapScript must have

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-09 Thread Moen, Paul T.
Daniel Morissette wrote: Moen, Paul T. wrote: This is the error I get when dumping the error stack as described below. Error in msEvalRegex(): String failed expression test. My first guess is that this error message comes from the file extension test on the filename of your query

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-08 Thread Moen, Paul T.
...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Moen, Paul T. Sent: Monday, February 01, 2010 2:42 PM To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [mapserver-users] php mapscript loadQuery

[mapserver-users] php mapscript loadQuery problem

2010-02-01 Thread Moen, Paul T.
I have not been able to get loadQuery to work. The saveQuery command creates the file and returns MS_SUCCESS. When I try to load the file using loadQuery, it always returns MS_FAILURE. I get no other errors. The permissions are good. Is there a way to enable more verbose error logging to

Re: [mapserver-users] AGG Rendering problem

2009-10-26 Thread Moen, Paul T.
Also try setting the IMAGETYPE to the name of your output format. In your example you would want to set your image type as follows. IMAGETYPE AGG_JPEG By setting the imagetype to JPEG, I believe it would actually using the default output format as shown at

Re: [mapserver-users] PHP Mapscript delivers map with larger extent than requested

2009-10-26 Thread Moen, Paul T.
Where are you setting the map size? $map-setSize($pwide,$ptall); You may need to set the size of the map before you set the extents. Paul On Oct 26, 2009, at 11:44 AM, Chuck Jungmann wrote: I am using MapScript with PHP because I want to be able to request a map with a url, change the

Re: [mapserver-users] RE: Highlight

2009-04-14 Thread Moen, Paul T.
/TITLE /HEAD BODY IMG SRC=?php echo $img; ? /BODY /HTML From: Moen, Paul T. [mailto:pm...@nd.gov] Sent: Monday, April 13, 2009 3:22 PM To: Jay Kapalczynski Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] RE: Highlight On 4/13/09 2:25 PM, Jay Kapalczynski

Re: [mapserver-users] RE: Highlight

2009-04-13 Thread Moen, Paul T.
-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Moen, Paul T. Sent: Thursday, April 09, 2009 3:15 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] RE: Highlight If the database that you are querying has the same attributes as the shape

Re: [mapserver-users] RE: Highlight

2009-04-09 Thread Moen, Paul T.
Set the mapfile QUERYMAP style to highlight http://mapserver.org/mapfile/querymap.html. Draw the map using drawQuery() instead of draw(). $img = $map-drawQuery(); header('Content-Type: image/jpeg'); $img-saveImage(); On 4/9/09 1:31 PM, Jay Kapalczynski jkapalczyn...@ci.maple-grove.mn.us

Re: [mapserver-users] RE: Highlight

2009-04-09 Thread Moen, Paul T.
RIGHT HERE } // end while AFTER ALL HAVE BEEN SELECTED and THE LIST BUILT SEND THE LIST TO ANOTHER PHP PAGE TO HANDLE THE HIGHLIGHTING OF THE FEATURES ? From: Fawcett, David [mailto:david.fawc...@state.mn.us] Sent: Thursday, April 09, 2009 3:34 PM To: Jay Kapalczynski; Moen, Paul T

[mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-01 Thread Moen, Paul T.
I get a segmentation fault when I run the following simple script with PHP MapScript on Mac OSX 10.5.6 running the latest versions from www.kyngchaos.com #!/usr/local/php5cgi/bin/php -q ?php dl('php_mapscript.so'); $newwkt = 'MULTIPOLYGON(((1207657 478875,1208230 478275,1207452

Re: [mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-01 Thread Moen, Paul T.
from what I remember was occurring with geos 3.1 (Is that correct Tom ?) (http://trac.osgeo.org/mapserver/ticket/2929 Best Regards Moen, Paul T. wrote: I get a segmentation fault when I run the following simple script with PHP MapScript on Mac OSX 10.5.6 running the latest versions from

Re: [mapserver-users] Projection or Data Problem?

2009-03-05 Thread Moen, Paul T.
is set to ³init=epsg:2266². Thanks for helping, Paul On 3/5/09 1:06 PM, Gregor at HostGIS gre...@hostgis.com wrote: Moen, Paul T. wrote: Can anyone get this WMS layer to reproject to a projected coordinate system like epsg:2266? Add to your WEB block, this. You can then make requests

[mapserver-users] Symbols Don't Follow Lines.

2009-02-18 Thread Moen, Paul T.
I have two symbols that are used in a railroad layer. The railties symbol used to be aligned perpendicular to the line and therefore looked like railroad ties. The symbol now only draws upright, i.e. horizontal. The documentation at

Re: [mapserver-users] Symbols Don't Follow Lines.

2009-02-18 Thread Moen, Paul T.
I forgot to mention the version. The output type is AGG and I see there was a problem with this. Does anybody if the version I am using has this problem? MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE