Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-18 Thread Smith, Michael ERDC-CRREL-NH
Zach, Your DATA statement is almost correct. If you are going to use the UNIQUE keyword (for supporting queries), you must put a column name after UNIQUE and before the SRID. Either of these would work: DATA ' GEOM from STATES using UNIQUE ID srid 90112' or DATA ' GEOM from STATES using srid

Re: [MAPSERVER-USERS] Problem TEMPLATE to use getfeatureinfo.html

2008-11-18 Thread Tellett
Hi Tio, The 'ttt' template should exist but it should be blank. Open an empty document in notepad or textpad etc and save that empty document as 'ttt.html'. Each layer in the mapfile has to reference a template in order for that layer to be considered queryable by mapserver. If you want your

Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-18 Thread zach cruise
thanks mike, but i get the same ora-x errors when using either: shp2img -m oracle.map -o oracle.png -all_debug 10 msOracleSpatialLayerOpen called with: GEOM from STATES using unique ID srid 90112 msOracleSpatialLayerOpen. Shared connection not available. Creating one.

Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-18 Thread Rahkonen Jukka
Hi, Have you checked that the SQL statement SELECT ID, GEOM FROM STATES WHERE SDO_FILTER( GEOM, MDSYS.SDO_GEOM(2003, 90112, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO _ORDINATE_ARRAY(-179,-89.517,179,83.517) ),'querytype=window') = 'TRUE' works from SQL*Plus or something else

Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-18 Thread zach cruise
sql*plus returns this error: ORA-06553: PLS-221: 'SDO_GEOM' is not a procedure or is undefined 06553. 0 - PLS-%s: %s *Cause: *Action: Error at Line:x Column:x select ID, GEOM from STATES works though. i have oracle locator not spatial, if that matters. also column GEOM is type SDO_GEOMETRY

Re: [mapserver-users] help with WMS_LAYER_GROUP

2008-11-18 Thread Daniel Morissette
Hi Steve, Which version of MapServer do you use? There was an issue in V5.0.0 and older that was fixed only in 5.0.1. I wonder if that's what you're running into: http://trac.osgeo.org/mapserver/ticket/2312 If you are using 5.0.1 or a more recent release then perhaps you could file a

Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread Stephen Woodbridge
Jackey, I'm not sure how much more I can help other than to say: 1) make sure you are building with fribidi2 version 0.19.1+ 2) Since character are generated individually on rotated labels, there may be an issue. Thomas Bonfort would be the person that implemented the AGG. You should probably

Re: [mapserver-users] MS 5.2 make error: yes: invalid option -- f

2008-11-18 Thread Daniel Morissette
It seems that the --with-ld-shared config option is not bullet-proof... it is intended to be used to specify the link command to use to build shared libs, and calling it with no argument results in the link command being set to yes... and then you get the error that you got. If you don't need

Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread TC Haddad
on re-reading Steve W's point #2 - perhaps the specific bug is that there is a difference with when in the sequence of drawing, OUTLINECOLOR is applied i) when ANGLE is AUTO, OUTLINECOLOR is applied after the whole label is drawn ii) when ANGLE is FOLLOW, OUTLINECOLOR is applied after each

[mapserver-users] help

2008-11-18 Thread Attila Borbás
Hello, I ve got a big problem with php/mapscript.I ve tried a simple hello world example (from Beginning MapServer Open Source GIS Development) and I didn't get any error message, but the browser couldn't generate the rendered pic. I don't know what the problem could be, but all codes what I ve

Re: [mapserver-users] help

2008-11-18 Thread Jeff McKenna
Attila Borbás wrote: Hello, I ve got a big problem with php/mapscript.I ve tried a simple hello world example (from Beginning MapServer Open Source GIS Development) and I didn't get any error message, but the browser couldn't generate the rendered pic. I don't know what the problem could be,

[mapserver-users] Mapserver segfaulting

2008-11-18 Thread Sam Ingarfield
G'day; I am having a few problems with mapserver segfaulting when it tries to draw a map. Am a little stumped as to why... Am on Ubuntu 8.10, x64. Started with the packaged mapserver that came with it (5.0.x) but have moved up in the world firstly to 5.2.0 and am now using 5.3-dev from the

Re: Fwd: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread Stephen Woodbridge
OK, this is great. I think I learned something new then. With ANGLE AUTO you can ask GD to draw the whole string at the specified angle. But there is not equivalent function in GD for ANGLE FOLLOW. The only way we can do that is one character at a time, changing the insertion point and angle

Re: Fwd: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread Jackey Cheung
Dear Stephen, I've filed a ticket http://trac.osgeo.org/mapserver/ticket/2812. Thank you very much for the help! Thank you TC, Stephen, and Dane. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread TC Haddad
Jackey I've subscribed to your ticket in case I can be of further help down the road. In the meantime, based on looking at your last example, the labels without OUTLINECOLOR are pretty good, the one thing I would recommend further is decreasing your font size by a point or two. This will

[mapserver-users] Re: [gdal-dev] Can I change SOURCE_EXTRA setting at compile time?

2008-11-18 Thread Roger André
Hi Frank, You're absolutely right. Changing those values in mapresample.c to 10 removed the artifacts when using a WMS request. They're still present when the request is made via mapscript though. I need to manually code a mapscript example though, because right now I'm testing that via

Re: [mapserver-users] Mapserver segfaulting

2008-11-18 Thread thomas bonfort
the shipped gcc with 8.10 does not play nice with mapserver and gdal. Try setting your compile optimisation flag to -O0 and -O2 to see if this fixes the segfault. -- thomas On Wed, Nov 19, 2008 at 02:17, Frank Warmerdam [EMAIL PROTECTED] wrote: Sam Ingarfield wrote: G'day; I am having a few