[mapserver-users] getting value non-geometry column from postgis db

2008-07-21 Thread orkun
I want retrive data from postgis layer. When I look the examples, I see mapserver layer renders geometry column like DATA the_geom FROM roads . What if I intend to get ID value with geo column of the same table. DATA the_geom FROM roads what if DATA the_geom,ID FROM roads ?? regards --

[mapserver-users] Add Content to the Legend

2008-07-21 Thread Stefan Schwarzer
Hi there, I would like to add information about the Units of the selected variable into the legend. When using vector data, this wasn't really the problem. I kind of faked empty classes to insert that information. But now, I wonder how to achieve this when using TIF images. As the TIF is

[mapserver-users] confused about pulling data from postgis

2008-07-21 Thread orkun
hello I am confused about pulling data from postgis layer. In addition to wkb_geometry, I also want to get ogc_fid using querybypoint. I am using this line in my map file. I am getting wkb_geometry but not ogc_fid DATA wkb_geometry FROM (select ogc_fid,wkb_geometry,cat from sheydene2) as foo

Re: [mapserver-users] confused about pulling data from postgis

2008-07-21 Thread Kristian Thy
On Mon, Jul 21, orkun wrote: In addition to wkb_geometry, I also want to get ogc_fid using querybypoint. I am using this line in my map file. I am getting wkb_geometry but not ogc_fid DATA wkb_geometry FROM (select ogc_fid,wkb_geometry,cat from sheydene2) as foo using unique ogc_fid

[mapserver-users] queryByPoint + PostGIS layers + USING statement

2008-07-21 Thread Stefan Schwarzer
Hi there, it seems that it's mandatory for postgis layers to use the USING statement in the query. My layer parameters look a bit like this: DATA 'the_geom FROM ( SELECT FROM xxx LEFT JOIN WHERE xxx) AS foo USING UNIQUE uid USING srid=4326) ' But nevertheless, mapserver

Re: [mapserver-users] queryByPoint + PostGIS layers + USING statement

2008-07-21 Thread Kristian Thy
On Mon, Jul 21, Stefan Schwarzer wrote: My layer parameters look a bit like this: DATA 'the_geom FROM ( SELECT FROM xxx LEFT JOIN WHERE xxx) AS foo USING UNIQUE uid USING srid=4326) ' You have an extra ) at the end. But nevertheless, mapserver doesn't like it... If

Re: [mapserver-users] Typo error in documentation page

2008-07-21 Thread Jacolin Yves
Hi, Does it the right list to inform a possible error in a documentation page or there is an other way? Thanks, Y. Le Sunday 13 July 2008 11:20:12 Yves Jacolin, vous avez écrit : Hi, Working on a french article to present new features for the next release of MS, I found a typo error on

Re: [mapserver-users] Typo error in documentation page

2008-07-21 Thread Jeff McKenna
On 21-Jul-08, at 9:25 AM, Jacolin Yves wrote: Hi, Does it the right list to inform a possible error in a documentation page or there is an other way? Thanks, Y. For documentation errors please file a ticket in Trac (http://trac.osgeo.org/mapserver/ ) and select the MapServer

Re: [mapserver-users] Typo error in documentation page

2008-07-21 Thread Jacolin Yves
Le Monday 21 July 2008 15:51:55 Jeff McKenna, vous avez écrit : On 21-Jul-08, at 9:25 AM, Jacolin Yves wrote: Hi, Does it the right list to inform a possible error in a documentation page or there is an other way? Thanks, Y. For documentation errors please file a ticket in

Re: [mapserver-users] cannot get data from postgis by querybypoint

2008-07-21 Thread Carlos Ruiz
Do you set the TEMPLATE item within that LAYER ? Because queries doesn't work if you don't have set it. A template is an HTML file wich allows you to format the result of the queries you made. IC Carlos Ruiz --- On Sun, 7/20/08, orkun [EMAIL PROTECTED] wrote: From: orkun [EMAIL PROTECTED]

Re: [mapserver-users] queryByPoint + PostGIS layers + USING statement

2008-07-21 Thread Carlos Ruiz
If you want to retrieve geometry with a specify projection, i suggest you to set it inside the postgres geometry_columns table, to simplify the query in the map file. When you upload some shape file to the database via shp2pgsql utility, you can specify the SRID of the projection, if not, SRID

RE: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-07-21 Thread Steve Lime
As far as I know there isn't such a switch. If you could produce the patch we could take a look though. Steve On 7/17/2008 at 7:54 AM, in message [EMAIL PROTECTED], Nolte, Tim [EMAIL PROTECTED] wrote: Is there a built-in facility to turn off anti-aliasing for certain layers when using AGG in

Re: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-07-21 Thread thomas bonfort
Yes, that patch won't apply on 5.2 as there have been substantial changes in that code. You'll have to manually merge it (the logic is the same). The function you're looking for is msDrawLineSymbolAGG -- thomas On Mon, Jul 21, 2008 at 5:26 PM, Steve Lime [EMAIL PROTECTED] wrote: As far as I

Re: [mapserver-users] v5.0.0 - CLASSITEM has double quote in fieldvalue

2008-07-21 Thread Steve Lime
While I'm glad it works (the regex should execute faster too) the other expression should have worked as well. Can you share the data you were using for some testing? Steve On 7/18/2008 at 8:16 AM, in message [EMAIL PROTECTED], Mike Saunt [EMAIL PROTECTED] wrote: Alexandre Excellent - that

Re: [mapserver-users] v5.0.0 - CLASSITEM has double quote in fieldvalue

2008-07-21 Thread Daniel Morissette
Steve is right, I had only guessed that there might be a bug based on the problem description, but we've been unable to reproduce the issue that you report. I meant to reply on Friday asking for a testcase to reproduce but I forgot. Daniel Steve Lime wrote: While I'm glad it works (the

[mapserver-users] Failed to transform feature 760

2008-07-21 Thread Robert Hicks
I got this error while running ogr2ogr from a Win 32 command prompt. The .dbf files completed successfully but the .shp file is empty when opened. Any ideas? Exact command: ogr2ogr -s_srs EPSG:2875 -t_srs EPSG:4326 -overwrite -f ESRI Shapefile shape_4326.shp shape.shp Thanks, Robert

[mapserver-users] Query all layers with blank qlayer?

2008-07-21 Thread Emerson, Gabe
Hi everyone, I'm running into trouble when I try to use ItemQuery and ItemNQuery with a blank qlayer. Does the 5.0 release still support querying all layers in this way? If not, what's the current method? I haven't been able to find anything aside from Bill Kropla's text and the online list of