[mapserver-users] Problems to draw simple polygons

CarlosGC carlosgc at gmail.com
Mon Feb 2 12:33:34 EST 2009


Hello to all

I am using oraclespatial (Oracle 10g) and MS4W and I trying to create a
layer with few polygons.

 - Table data:



MKT_ID
|
NAME
|
SHAPE

2
|
cola_b
|
MDSYS.SDO_GEOMETRY(2003,null,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),MDSYS.SDO_ORDINATE_ARRAY(5,1,8,1,8,6,5,7,5,1))

3
|
cola_c
|
MDSYS.SDO_GEOMETRY(2003,null,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),MDSYS.SDO_ORDINATE_ARRAY(3,3,6,3,6,5,4,5,3,3))


 - .MAP file content:

MAP

   NAME "teste"

   STATUS ON

   EXTENT 0 0 100 100

   SIZE 500 500

   SHAPEPATH "data"

   IMAGETYPE PNG

   IMAGECOLOR 255 255 255

   UNITS METERS

   TEMPLATEPATTERN "itasca"


   WEB

      MINSCALE 1

      MAXSCALE 1550000

      IMAGEPATH "/ms4w/tmp/ms_tmp/"

      IMAGEURL "/ms_tmp/"

      TEMPLATE "itasca_teste.html"

   END


   LAYER

   NAME "pontos"

   STATUS DEFAULT

   TYPE POLYGON

   CONNECTIONTYPE oraclespatial

   CONNECTION "***/***@***"

   DATA "SHAPE FROM COLA_MARKETS"

   DUMP TRUE

      CLASS

         STYLE

            OUTLINECOLOR
0 0 0

            COLOR
0 128 128

         END

      END

   END

END


The generated map is complete white. Nothing is drawn.

Any ideia about what is the problem?


Thanks,

CarlosGC
-- 
View this message in context: http://n2.nabble.com/Problems-to-draw-simple-polygons-tp2259225p2259225.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090202/23b0660d/attachment.html


More information about the mapserver-users mailing list