3D Polygon

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Tue Aug 1 11:40:10 PDT 2006


Could this be related to:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1784

it should be in 4.8.4 though.

Best regards,
Bart

K S wrote:

> Sorry for the delay! Thanks for the response!
> Here is the report of ogrinfo for the shapefile. Supposed that the 
> precompiled version of mapserver doesn't support 3D polygon how can I 
> "enable" 3D polygons' support?
>
> Layer name: TownBlocks
> Geometry: 3D Polygon
> Feature Count: 8024
> Extent: (496798.420507, 3874382.779711) - (692235.890369, 3932301.842024)
> Layer SRS WKT:
> PROJCS["Greek_Grid",
>     GEOGCS["GCS_GGRS_1987",
>         DATUM["Greek_Geodetic_Reference_System_1987",
>             SPHEROID["GRS_1980",6378137.0,298.257222101]],
>         PRIMEM["Greenwich",0.0],
>         UNIT["Degree",0.0174532925199433]],
>     PROJECTION["Transverse_Mercator"],
>     PARAMETER["False_Easting",500000.0],
>     PARAMETER["False_Northing",0.0],
>     PARAMETER["Central_Meridian",24.0],
>     PARAMETER["Scale_Factor",0.9996],
>     PARAMETER["Latitude_Of_Origin",0.0],
>     UNIT["Meter",1.0]]
> OBJECTID: Integer (9.0)
> FID_?ώΆΎϊΎ: Integer (9.0)
> SDE_blockc: Real (19.11)
> PERIMETER: Real (19.11)
> TBLOCK_: Real (19.11)
> TBLOCK_ID: Real (19.11)
> ESYE_CODE: Integer (9.0)
> MATCH_: Integer (9.0)
> XBLOCK: Real (19.11)
> YBLOCK: Real (19.11)
> MUN_NAME: String (40.0)
> MUN_CODE: String (8.0)
> OT: String (12.0)
> TR_POP: Real (19.11)
> PER_POP: Real (19.11)
> NOIK: Real (19.11)
> HOUSES: Real (19.11)
> H_OWN: Real (19.11)
> H_REN: Real (19.11)
> H_KAT: Real (19.11)
> H_KEN: Real (19.11)
> H_KY_KA: Real (19.11)
> H_EXOH: Real (19.11)
> PER_MEN: Real (19.11)
> PER_WOM: Real (19.11)
> AGE14: Real (19.11)
> AGE1564: Real (19.11)
> AGE65: Real (19.11)
> YDR: Real (19.11)
> EDR: Real (19.11)
> H_PKEN: Real (19.11)
> H_PREN: Real (19.11)
> H_POWN: Real (19.11)
> H_PEXOH: Real (19.11)
> M_W_RAT: Real (19.11)
> NOIK_MESO: Real (19.11)
> POPDEN: Real (19.11)
> FID_LLNew_: Integer (9.0)
> Shape_Leng: Real (19.11)
> Shape_Ar_1: Real (19.11)
> Shape_Le_1: Real (19.11)
> Shape_Area: Real (19.11)
>
> */"Bart van den Eijnden (OSGIS)" <bartvde at XS4ALL.NL>/* έγραψε:
>
>     What does ogrinfo report on your shapefile? Can you send us the
>     output?
>
>     Best regards,
>     Bart
>
>     > 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)" έγραψε: 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
>
>
> Χρησιμοποιείτε Yahoo!
> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
> καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr 



-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list