[Geoserver-users] Geometry column Name - Oracle

Hi,

I’m using geoserver 2.2.2.

I’m able to serve data from Oracle with OpenLayers.

In one of my tables, I have two geometry column (sdo_geometry).

How can I indicate which of the two should be used ?

Thanks

Hi,

I also published a table with 2 geometry columns (point ,polygon), I used a symbolizer that used symbology for Polygon, as a result my WMS response shows me Polygons , Hope that helps.

regards,
Imran

On Mon, Feb 18, 2013 at 11:44 PM, Olivier Gagnon <mcnolii@anonymised.com> wrote:

Hi,

I’m using geoserver 2.2.2.

I’m able to serve data from Oracle with OpenLayers.

In one of my tables, I have two geometry column (sdo_geometry).

How can I indicate which of the two should be used ?

Thanks


The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


I.R

Hi,

You can specify the geometry column in the SLD:

<LineSymbolizer>
  <Geometry>
   <ogc:PropertyName>geometry_column_to_use</ogc:PropertyName>
  </Geometry>
  ...
</LineSymbolizer>

cheers,

GEDE Mátyás
ELTE Térképtudományi és Geoinformatikai Tanszék, Budapest

On Mon, 18 Feb 2013 13:44:22 -0500, Olivier Gagnon wrote

Hi,
I'm using geoserver 2.2.2.
I'm able to serve data from Oracle with OpenLayers.
In one of my tables, I have two geometry column (sdo_geometry).
How can I indicate which of the two should be used ?
Thanks