3D Polygon

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Thu Jul 27 08:50:23 EDT 2006


Hi,
 
I suspect your precompiled Mapserver does not support 3D shapefiles.  At least my, a bit old MS4W Mapserver does not.  You may want to try converting your shapefile to normal 2D shapefile with ogr2ogr by using the switch:
-nlt POLYGON.
 
Regards,
 
-Jukka Rahkonen-

________________________________

Lähettäjä: UMN MapServer Users List puolesta: K S
Lähetetty: to 27.7.2006 14:54
Vastaanottaja: MAPSERVER-USERS at LISTS.UMN.EDU
Aihe: Re: [UMN_MAPSERVER-USERS] 3D Polygon


I have tried using TYPE POLYGON in this LAYER but mapserver keeps showing the error message:

msDrawShapes() General error message. Only polygon shapes can be drawn using a POLYGON layer definition.

I am using mapserver version 4.8.4 from the precompiled pack that is distributed from maptools.org. I can use TYPE LINE for the LAYER without getting any error but that doesn't result to the map I want to show.Any ideas?

Thank you for the response!

"Bart van den Eijnden (OSGIS)" <bartvde at xs4all.nl> ??????: 

	You should just use TYPE POLYGON. Note I think you need Mapserver 4.6 or 
	greater, best to try with the latest release (4.8.X).
	
	Btw, Mapserver has a compile option determining whether or not it will 
	pick up Z and M values.
	
	# If you want to use shape Z and M parameter this option must be set.
	# It's OFF by default.
	#USE_POINT_Z_M=-DUSE_POINT_Z_M
	USE_POINT_Z_M=
	
	Best regards,
	Bart
	
	K S wrote:
	
	> Hello everybody,
	> I have a shapefile which is GEOMETRY: 3D POLYGON. How can i draw 
	> the layer for this shapefile. To be more specific what would be the 
	> TYPE of such a layer
	>
	> Thank you in advance
	>
	> ?????????????? Yahoo!
	> ?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? 
	> ???????? ?????? ????????? ???? ??? ??????????? ?????????
	> http://login.yahoo.com/config/mail?.intl=gr 
	
	
	
	-- 
	Bart van den Eijnden
	OSGIS, Open Source GIS
	http://www.osgis.nl
	
	


________________________________

?????????????? Yahoo!
?????????? ?? ?????????? ???? ???? (spam); ?? Yahoo! Mail ???????? ??? ???????? ?????? ????????? ???? ??? ??????????? ????????? 
http://login.yahoo.com/config/mail?.intl=gr 



More information about the mapserver-users mailing list