Re: [mapserver-users] quotes in EXPRESSION, ATTRIBUTE type

2009-10-26 Thread Steve Lime
Answers inline... >>> On 10/25/2009 at 1:49 PM, in message <1256496568727-3888456.p...@n2.nabble.com>, Ted Spradley wrote: > Hi all, hope your weekend is good! > > Getting all of the Test Suite examples to function with my ver 5.4.1 of > MapServer. > > 1. Expressions can no longer be passed in

Re: [mapserver-users] parsing error with regular expression

2009-10-26 Thread Steve Lime
Invalid regex. Try: ('[yas_kod]' =~ /eosen/ and '[lkod]' =~ /.*Kumtasi|Camurtasi.*/) Steve >>> On 10/26/2009 at 8:06 AM, in message <20091026130337.m60...@deprem.gov.tr>, "Ahmet Temiz" wrote: > hello > > what might be wrong with the code below ? > it gives parsing error in java-mapscrip

[mapserver-users] Re: [mapserver-dev] WMS Performance Shootout presentation/results

2009-10-26 Thread Steve Lime
Jeff, many, many thanks to you and all the folks working from both projects on the benchmarking exercise. Sounds like the presentation was very successful and MapServer made a very respectable showing. Congrats! Steve >>> On 10/23/2009 at 6:21 PM, in message >>> <4ae23a6a.4080...@gatewaygeoma

Re: [mapserver-users] Serialize MapObj of phpmapscript

2009-10-26 Thread Steve Lime
You can read a mapfile in PHP suck it's contents into a string (outside mapscript) and store that in your cache once. Then you can pull that string from the cache when needed an instantiate a mapObj from it. About the best you can do at the moment I think. Steve >>> On 10/26/2009 at 11:03 AM,

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] PHP Mapscript delivers map with larger extent than requested

2009-10-26 Thread Chuck Jungmann
I am using MapScript with PHP because I want to be able to request a map with a url, change the content-type and send saveImage directly to STDOUT. An example (relative) URL: map.php?lat=42.056542&lon=-88.035765&ext=300&pwide=500&ptall=500 Where "ext" is the width, in meters, on the ground (diffe

Re: [mapserver-users] ShapeObj from WKT help please

2009-10-26 Thread Josh Hevenor
http://mapserver.org/mapscript/php/index.html#shapeobj-class The second constructor will build this for you... ShapeObj ms_shapeObjFromWkt(string wkt) Or if you have a spreadsheet you could look at adding the whole thing to your mapfile, or converting it to shapefile (etc.) with ogr2ogr. http

[mapserver-users] Serialize MapObj of phpmapscript

2009-10-26 Thread Pavel Iacovlev
I have a script that dynamically generates images via phpmapscript (the data is dynamic and is based current users configuration stored in a database). The work flow is the following: Fetch layers, classes, styles configured by user from database and create mapserver objects based on this data. No

Re: [mapserver-users] ShapeObj from WKT help please

2009-10-26 Thread touny
POLYGON((x y,x y,x y,x y)) Can You help me, where can I display/export data in this format into SHP. I have recieved from my boss data in XLS with this geometry.. but I dont know how to work with it. Does anyone know? Anthony -- View this message in context: http://n2.nabble.com/ShapeObj-

[mapserver-users] display CIRCULARSTRING / COMPOUNDCURVE

2009-10-26 Thread Jana Golinowski
Hello list, I'm trying to display PostGIS geometries of type CIRCULARSTRING resp. COMPOUNDCURVE. Unfortunately I can only make MapServer draw those geometries using st_curvetoline. But I'd rather work with the original geometries not with approximated ones for they should be used for WFS also.

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 http://mapserver.org/mapfile/outpu

Re: [mapserver-users] AGG Rendering problem

2009-10-26 Thread Rahkonen Jukka
Hi, Try adding MIMETYPE to outputformat. I guess that without it Mapserver is using default for jpeg requests. If you use, while testing, your own mimetype like MIMETYPE "image/jpeg2" and in request use &FORMAT=image/jpeg2 you should be able to compare what happens with image/jpeg and image/jp

[mapserver-users] AGG Rendering problem

2009-10-26 Thread Tony Baylis
Hi all, This is my first post in a long time so be gentle...My problem is I have finally updated an old server to use MapServer 5.4.2 and want to use AGG rendering I have done this without a problem on another server earlier in the year but for some reason whenever I add the 'OUTPUTFORMAT' s

[mapserver-users] parsing error with regular expression

2009-10-26 Thread Ahmet Temiz
hello what might be wrong with the code below ? it gives parsing error in java-mapscript EXPRESSION ('[yas_kod]' =~ /eosen/' and '[lkod]' =~ /.*Kumtasi.*/|/.*Camurtasi.*/') -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous con

Re: [mapserver-users] long expression statement doesn't work anymore

2009-10-26 Thread Rafael Szajbel
I sent a message with an attached test case to the mailinglist but now I'm waiting for approval because the attachment is too big. Rafael As I mentioned earlier, I'd love a test case! ___ mapserver-users mailing list mapserver-users@lists.osgeo.