Hi all,
Any one know of examples about how to call spatial queries using Postis
functions from Mapserver?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Gabriel,
You need to add a layer with your query in it - you can use variable
substitution etc.
an example (may or may not be a good one!) :
LAYER
DEBUG 3
NAME buffalo
GROUP Movement
METADATA
layer_title Buffalo
layer_order 2
Thanks, ANNOTATION layer is really doing the job.
Charlotte
PS : thanks to Thomas Bonfort to for his help
Steve Lime a écrit :
You can also use an ANNOTATION layer to do something like this. Depends
if you need a true
centroid or not. Annotation layers use label points generated from an
I am sure a lot has changed, but I do experience some weird and not
welcome changes in rendered images for which there is no explanation
in the documentation.
For my application of Cartoweb 3.5 I am using a mapfile with the following:
OUTPUTFORMAT
NAME 'AGG_Q'
DRIVER AGG/PNG
FORMATOPTION
Hello
I have an annotation layer on which I want to be able to draw labels.
Here is the layer :
LAYER
CLASSITEM Id_BDCarto
CONNECTION Limites_administratives/Departement.TAB
CONNECTIONTYPE OGR
LABELITEM Nom_Département
LABELMAXSCALEDENOM 1e+07
LABELMINSCALEDENOM 1990
Dear list,
yesterday I reported problems with my WFS server. I could not fix that
up till now.
I have another possibly related problem.
My WMS is set up allright, getcapabilities is ok, I can see the map, pan
zoom, etc, no problems.
When I do an Identify (GetFeatureInfo request), I get
Thanks, I´ll digest it :-)
2009/6/26 Ben Madin b...@remoteinformation.com.au
Gabriel,
You need to add a layer with your query in it - you can use variable
substitution etc.
an example (may or may not be a good one!) :
LAYER
DEBUG 3
NAME buffalo
GROUP
Hi,
Have you tried to run the SQL queries from logfile directly? I wonder if for
example this part is correct and finds any data:
WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry
setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508
Hello list,
I have the following problem with UMNMapserver 5.2:
I have interpolated some data with gdal_grid. As the result I got a tiff
file with one band.
In the next step i classified the raster image in UMN Mapserver like this:
(..)
CLASS
NAME = 12 h
EXPRESSION ([pixel] 9 AND [pixel] =
Jukka,
Thank you, I've tried the SQL statement:
DECLARE mycursor BINARY CURSOR FOR SELECT
asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from
NL.IMRO.0026.SVBBU-0001 WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and
(tc_vlak_geometry setSRID(
Hi,
Mapserver needs an integer type column for the USING UNIQUE clause, not
a string column. That won't work.
Best regards,
Bart
DeDuikertjes wrote:
Jukka,
Thank you, I've tried the SQL statement:
DECLARE mycursor BINARY CURSOR FOR SELECT
Responses inline...
On 6/25/2009 at 4:59 PM, in message 20090625215916.ga11...@q.rho.net,
Wendell
Turner wend...@enflight.com wrote:
On Thu, Jun 25, 2009 at 03:13:21PM -0500, Steve Lime wrote:
Here's one example using new-style templating (recommend
MapServer 5.4.1).
I'm using 5.2.0.
List,
Thanks to Bart van den Eijnden the problem is solved.
I used a using unique clause on a column which was unique, but not
integer.
So I now create my postgis tables with a CREAT TABLE WITH OIDS
and I use a using unique oid clause in the DATA statement.
As often, details do matter.
List,
Thanks to Bart van den Eijnden the problem is solved.
I used a using unique clause on a column which was unique, but not
integer.
So I now create my postgis tables with a CREAT TABLE WITH OIDS
and I use a using unique oid clause in the DATA statement.
As often, details do matter.
Charlotte Declercq wrote:
With TEXT = , the layer is drawn without the labels. If TEXT property
is present, I am unable to draw the labels,
because I can't remove the TEXT property and I can't find a way to write
TEXT [attribute_name] with mapscript (do the binding as for example
On 26/6/09 11:10 PM, Bart van den Eijnden (OSGIS) wrote:
Mapserver needs an integer type column for the USING UNIQUE clause, not
a string column. That won't work.
Actually, no it doesn't require an integer type column for the UNIQUE
clause. I have used text fields in the past with mapserver
16 matches
Mail list logo