Skip to content

Instantly share code, notes, and snippets.

@mpriour
Created November 18, 2011 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpriour/1377897 to your computer and use it in GitHub Desktop.
Save mpriour/1377897 to your computer and use it in GitHub Desktop.
GeoTools SQL Error
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:Or>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>TagTyp</ogc:PropertyName>
<ogc:Literal>GT</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>TagTyp</ogc:PropertyName>
<ogc:Literal>RST</ogc:Literal>
</ogc:Or>
</ogc:Filter>
2011-11-18 22:51:02,394 DEBUG [org.geotools.jdbc] - SELECT "Ikon","Riktning",CAST("Position".STSrid as VARCHAR) + ':' + "Position".STAsText() as "Position" FROM "Tag" WHERE (("TagTyp" = OR "TagTyp" = ) AND "Position".Filter(geometry::STGeomFromText('POLYGON ((-181000 6058000, -181000 7864000, 2605000 7864000, 2605000 6058000, -181000 6058000))', 3006)) = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment