Opened 15 years ago
Closed 15 years ago
#2882 closed defect (invalid)
mapserver does not draw shapefile line types?
Reported by: | dfwc | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
i am having trouble showing line data on mapserver
########################################################################### # i create an 'arc' shapefile with one edge ###########################################################################
shpcreate nysf arc dbfcreate nysf -s ecity 32 -s wcity 32
dbfadd nysf "New York" "San Francisco" shpadd nysf -73.905235290527344 40.707859039306641 + -122.380088806152344 37.795818328857422
########################################################################### # i use this mapfile ###########################################################################
MAP # Start of MAP object
DEBUG ON SIZE 800 600 EXTENT -122.380089 37.795818 -73.905235 40.707859 IMAGECOLOR 255 255 255
UNITS DD
LAYER
NAME nysf TYPE LINE STATUS DEFAULT DATA nysf DEBUG 5 CLASS
NAME 'edge' STYLE
COLOR 0 0 0
END
END
END
END # End of MAP object and map file
########################################################################### # i attempt to create an image with this line in it ########################################################################### shp2img -m nysf.map -i png -o nysf.png -s 800 600 -all_debug 9
########################################################################### # result - no line # my question is - do these tools support lines? # if so, how do i make them visible? # thanks in advance
This should go to the support list, not the defect tracking too. Marking as invalid...
Steve