I mean, shapefile is not topological...

2008/2/29, G. Allegri <[EMAIL PROTECTED]>:
> A question: how can you derive a line direction by a shp without
>  having an appropriate attribute?
>
>  Giovanni
>
>  2008/2/29, Adam Feidt <[EMAIL PROTECTED]>:
>
> >
>  >
>  >
>  >
>  > David,
>  >
>  >      Below is my Layer definition.  I've tried a truetype symbol and label
>  > with the ANGLE parameter set to AUTO or FOLLOW.  Neither case pointed out
>  > actual shapefile line direction.  I'm reading an ESRI shapefile so there is
>  > no specific column for line direction.
>  >
>  >
>  >
>  > LAYER
>  >
>  >             NAME 'Utilities Sanitary Lines'
>  >
>  >             DATA './UtilitiesSanitaryLines.shp'
>  >
>  >             TYPE LINE
>  >
>  >             STATUS DEFAULT
>  >
>  >             CLASSITEM "Function"
>  >
>  >             CLASS
>  >
>  >                   NAME 'Main'
>  >
>  >                   EXPRESSION ""
>  >
>  >                   STYLE
>  >
>  >                     COLOR 85 255 0
>  >
>  >                     SYMBOL "plainline"
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >             CLASS
>  >
>  >                   NAME 'Low Pressure'
>  >
>  >                   EXPRESSION "Low Pressure"
>  >
>  >                   STYLE
>  >
>  >                     COLOR 255 85 0
>  >
>  >                     SYMBOL "plainline"
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >             CLASS
>  >
>  >                   NAME 'Sub Trunk'
>  >
>  >                   EXPRESSION "Sub Trunk"
>  >
>  >                   STYLE
>  >
>  >                     COLOR 85 255 0
>  >
>  >                     SYMBOL "plainline"
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >             CLASS
>  >
>  >                   NAME 'Trunk'
>  >
>  >                   EXPRESSION "Trunk"
>  >
>  >                   STYLE
>  >
>  >                     COLOR 112 168 0
>  >
>  >                     SYMBOL "plainline"
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >             CLASS
>  >
>  >                   NAME 'Force Main'
>  >
>  >                   EXPRESSION "forcemain"
>  >
>  >                   STYLE
>  >
>  >                     COLOR 255 170 0
>  >
>  >                     SYMBOL 'dashed1'
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >             CLASS
>  >
>  >                   NAME 'Private'
>  >
>  >                   EXPRESSION "private"
>  >
>  >                   STYLE
>  >
>  >                     COLOR 161 33 240
>  >
>  >                     SYMBOL 'plainline'
>  >
>  >                     SIZE 2
>  >
>  >                   END
>  >
>  >             END # end class
>  >
>  >       END #end layer
>  >
>  >
>  >
>  >
>  >
>  >
>  > Adam M. Feidt
>  >
>  > GIS Coordinator
>  >
>  > City of Eden Prairie
>  >
>  > 8080 Mitchell Rd
>  >
>  > Eden Prairie, MN 55344
>  >
>  > phone# 952-949-8443
>  >
>  > fax# 952-949-8334
>  >
>  >
>  >
>  >
>  >
>  > From: Fawcett, David [mailto:[EMAIL PROTECTED]
>  >  Sent: Friday, February 29, 2008 8:19 AM
>  >  To: Adam Feidt; mapserver-users@lists.osgeo.org
>  >  Subject: RE: [mapserver-users] symbology showing line direction
>  >
>  >
>  >
>  >
>  >
>  > Adam,
>  >
>  >
>  >
>  >
>  >
>  > What does your layer definition, with the classes look like?
>  >
>  >
>  >
>  >
>  >
>  > Does your data have the direction column properly populated for all 
> records?
>  >
>  >
>  >
>  >
>  >
>  >
>  > David.
>  >
>  >
>  > -----Original Message-----
>  >  From: [EMAIL PROTECTED]
>  > [mailto:[EMAIL PROTECTED] On Behalf
>  > Of Adam Feidt
>  >  Sent: Friday, February 29, 2008 8:14 AM
>  >  To: mapserver-users@lists.osgeo.org
>  >  Subject: [mapserver-users] symbology showing line direction
>  >
>  >       I'm working in a GeoMoose application and trying to display utility
>  > lines with the correct line direction via some arrow character or symbol.
>  > I've had no luck so far.  I've successfully labeled my lines with a 
> truetype
>  > font character by defining the TEXT ">" parameter in the CLASS object.  
> I've
>  > also tried a pixelmap symbol definition using a .gif file.  Both appear to
>  > work at first, but when you compare it to the actual line direction it 
> isn't
>  > true in all cases.  Has anybody found a way to accomplish this?  I would
>  > appreciate if you could send me any examples.
>  >
>  >
>  >
>  >
>  >
>  > Adam M. Feidt
>  >
>  > GIS Coordinator
>  >
>  > City of Eden Prairie
>  >
>  > 8080 Mitchell Rd
>  >
>  > Eden Prairie, MN 55344
>  >
>  > phone# 952-949-8443
>  >
>  > fax# 952-949-8334
>  >
>  >
>
> > _______________________________________________
>  >  mapserver-users mailing list
>
> >  mapserver-users@lists.osgeo.org
>
> >  http://lists.osgeo.org/mailman/listinfo/mapserver-users
>  >
>  >
>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to