using gml

2 messages Options
Embed this post
Permalink
vinu-5

using gml

Reply Threaded More More options
Print post
Permalink
Hi Everyone,

I am new to this mailing list.I have a basic doubt about gml.I want to know whether a map can be drawn using gml file.I have a gml file with point co-ordinates.I have included it in a map file as a layer and I am trying very hard to draw a map using the gml file.
Please someone help me with this

Thanks
Vinod

_______________________________________________
Mapserver-west mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/mapserver-west
vinu-5

Re: using gml

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Yes I have tried working on this example,but it gave me an error saying cannot draw the layer.(also "circle" error)

I have one more question ,to use gml as a layer do I need to use it as wfs or wms server.

I have attached my map file and gml for your reference

On 7/16/07, Aaron Racicot <[hidden email] > wrote:

Have you tried working through this reference?

 

http://mapserver.gis.umn.edu/docs/reference/vector_data/gml

 

If so, what types of problems are you having?  Try to be as specific as possible and provide examples if available.

 

A

 

+----------------------------------------+
 Aaron Racicot - GIS Programmer  
 360.221.2441 - [hidden email]         
+----------------------------------------+
 e c o t r u s t                       
 pobox 1614
 langley wa 98260
 www.ecotrust.org                      
+----------------------------------------+


From: [hidden email] [mailto:[hidden email]] On Behalf Of vinu
Sent: Monday, July 16, 2007 10:24 AM
To: [hidden email]
Subject: [Mapserver-west] using gml

 

Hi Everyone,

I am new to this mailing list.I have a basic doubt about gml.I want to know whether a map can be drawn using gml file.I have a gml file with point co-ordinates.I have included it in a map file as a layer and I am trying very hard to draw a map using the gml file.
Please someone help me with this

Thanks
Vinod




MAP
IMAGETYPE     JPEG
STATUS ON
SIZE 200 200
EXTENT -103 0 -69 24

IMAGECOLOR 255 255 255

WEB
  IMAGEPATH "/ms4w/tmp/ms_tmp/"
  IMAGEURL "/ms_tmp/"
END
SYMBOL
    NAME 'circle'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED TRUE
  END


PROJECTION
  "init=epsg:4326"   ##required
END
#
# Start of layer definitions
#
LAYER
NAME coal_deposits
TYPE POINT
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "c:/ms4w/apps/tutorial/data/coal_dep.gml"
CLASS
        STYLE
                COLOR 0 0 0
                SYMBOL 'circle'
                SIZE 6
        END
END
END


END
_______________________________________________
Mapserver-west mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/mapserver-west

coal_dep.gml (1K) Download Attachment