[mapserver-users] 3.5: how to handle empty DATA layerswhich were
accepted in 3.4
Andrea Giacomelli
andreag@crs4.it
Thu, 07 Feb 2002 15:44:39 +0100
Rodrigo Cabral wrote:
>
> Andrea,
>
> What you need, as Steve mentioned, is to defined an empty inline feature in
> your mapfile. Like this:
>
> layer
> name 'my_point_layer'
> type point
> feature end # here's the trick
> class
> color 0 0 0
> end
> end
>
>
> If you do a layer/map draw then you need valid DATA or inline features
> but it sounds like you're not doing that.
>
The trick did it. Thanks to all.
--
=========================================
Andrea Giacomelli
Centre for Advanced Studies, Research and
Development in Sardinia
http://www.crs4.it/~andreag
=========================================