gml

Best java open source toolkit to visualize a GML fragment

Hi, I'm looking for a way to visualize a piece of GML I'm receiving. What is the best freely available java library to use for this task? ...

Is it possible to export spatial data from Sql Server 2008 in gml2 format?

Sql Server 2008 supports spatial data with new geometry and geography UDT's. They both support AsGml() method to serialize data in gml format. However they serialize data into GML3 format. Is there any way to tell it to serialize data into GML2 format? ...

GML usage criteria, or what is the proper way for useing GML (Geography XML)

We want to use GML in our application; It is a GIS based application which simulates the real word objects (i.e. Pipes, Roads, etc) in a virtual reality environment. Currently we draw and store the geometry in AutoCAD DWGs but in future we want to change the Database. I really need to find the answers of these questions. 1- Is GML prope...

Help parsing GML data using C# Linq to XML

I know this is most likly very basic and been asked a thousand times but for some reason I just can't get it to work. I have a gml file that looks like the following: <?xml version='1.0' encoding='UTF-8'?> <schema xmlns='http://www.w3.org/2000/10/XMLSchema' xmlns:gml='http://www.opengis.net/gml' xmlns:xlink='http://www.w3.org/1999/xlin...

Reading gml in c#

I have a problem with reading some gml files in c#. My files do not have schema or namespaces and looks like file from this question: http://stackoverflow.com/questions/1818147/help-parsing-gml-data-using-c-linq-to-xml only whitout the schema like this: <gml:Polygon srsName='http://www.opengis.net/gml/srs/epsg.xml#4283'&gt; <gml:oute...

How can I change this raycasting algorithm to not go diagonally?

// Arg0 - Map, Arg1 - X, Arg2 - Y, Arg3 - Distance, Arg4 - MaxDistance var xx,yy,dist, x1, y1, dir, maxdist, obj, res, map; map = argument0 x1 = argument1 y1 = argument2 dir = argument3 maxdist = argument4 dist = 0 do { dist+=1 xx = x1+round(lengthdir_x(dist,dir)) yy = y1+round(lengthdir_y(dist,dir)) }...

Common Markup Language for Address/Location

I'm looking for a standard markup language to transmit addresses (locations). I really need nothing more complicated than a list of addresses with some metadata, each requiring a name, address, state, phone, email, geocoordinates, and some other metadata. I don't want to have to parse these addresses into their constituent parts; I nee...

Problem creating an XElement object with GML namespace

I am trying to build a XML document using the GML namespace and XML to LINQ. My goal is an XElement with contents like this: <gml:name>...</gml:name> But I get the following: <name xmlns="http://www.opengis.net/gml" /> The problem is that the gml: is missing from the element. Why is that? My code is as follows: XNamespace ns...