Hi,

I guess that annotation layers are not supported for this use and you should 
somehow create a point type layer that acts like the annotation layer. There 
needs only be two colums in the schema, geometry and name.  I don't know it 
could be done, but have you tried just to change the layer type to point?

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: [EMAIL PROTECTED] puolesta: José María Michia
Lähetetty: pe 21.11.2008 5:51
Vastaanottaja: Pietro Giannini
Kopio: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Create a file "GML" from a layer of 
type"annotation".
 
Hi,

Maybe is useful explain more precisely my goal.

The attached image is a PNG obtained by using shp2img. The layer
displayed is an ANNOTATION LAYER. The labels are generalized by
MapServer. I wish to get the labels displayed in this extent, in this
scale, with this degree of generalization, in a GIS format, like GML,
or ShapeFile. I wish to use these file in GMT, that no have
implemented labeling algorithm.

My attempts:

1. shp2img: i obtained PDF files, which can be integrated in the final
map using something like Inkscape.
2. WMS: only can obtain a raster image.
3. WFS: I have been able to generate GML files using an WFS request,of
type GetFeature. However, GetFeature work on all elements, without
caring for the widespread labeling. I do not want all the labels, only
those that have been generalized to a certain scale.

In the past, I used MapScript. If I remember correctly, I could do
this by using a script in PHP or Python. Correct?

Thanks for any advice.
José María

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to