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

Steve Lime steve.lime at dnr.state.mn.us
Thu Feb 7 10:35:41 EST 2002


You shouldn't have to do this though. What symtoms are you experiencing
if you leave out the empty feature? What does your code look like?

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Andrea Giacomelli <andreag at crs4.it> 02/07/02 08:44AM >>>
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