[mapserver-users] 3.5: how to handle empty DATA layerswhich were accepted in 3.4

Andrea Giacomelli andreag at crs4.it
Thu Feb 7 09:44:39 EST 2002


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
=========================================



More information about the mapserver-users mailing list