Hi all,
Hopefully someone will just know the answer to this…
Is it possible to style a layer of polygons and lines to show only the nodes that make up the polygons and lines?
If I come up with the answer from the sld spec before I get a reply I’ll post it here…
cheers,
Tom
It looks like this is not possible since PointSymbolizer should render on the centre point of a geometry and LineSymbolizer appears to have no capability to show only the nodes. Looks like I’m going to have to try to extract the nodes into a seperate layer at the database level and then render that layer as a point dataset.
If anyone has a better solution please let me know, cheers.
On 7/23/07, Tom (JDi Solutions) <tom.dean@anonymised.com > wrote:
Hi all,
Hopefully someone will just know the answer to this…
Is it possible to style a layer of polygons and lines to show only the nodes that make up the polygons and lines?
If I come up with the answer from the sld spec before I get a reply I’ll post it here…
cheers,
Tom
Hi Tom,
Unfortunately I think this is probably the best solution. Are you using postgis? Perhaps pgRouting can work for you.
-Justin
Tom (JDi Solutions) wrote:
It looks like this is not possible since PointSymbolizer should render on the centre point of a geometry and LineSymbolizer appears to have no capability to show only the nodes. Looks like I'm going to have to try to extract the nodes into a seperate layer at the database level and then render that layer as a point dataset.
If anyone has a better solution please let me know, cheers.
On 7/23/07, *Tom (JDi Solutions)* <tom.dean@anonymised.com <mailto:tom.dean@anonymised.com>> wrote:
Hi all,
Hopefully someone will just know the answer to this...
Is it possible to style a layer of polygons and lines to show only
the nodes that make up the polygons and lines?
If I come up with the answer from the sld spec before I get a reply
I'll post it here...
cheers,
Tom
!DSPAM:4007,46a49c0b318161030819293!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
!DSPAM:4007,46a49c0b318161030819293!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,46a49c0b318161030819293!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
No I’m using Oracle but thanks for confirming my fears. In case anyone’s interested the following query will extract all the points for insert into another table:
INSERT INTO point_table (geometry)
SELECT SDO_GEOMETRY(2001, 81989, SDO_POINT_TYPE
(X, Y, NULL), NULL, NULL
)
FROM
(
SELECT t.X, t.Y
FROM orig_table tl,
TABLE(SDO_UTIL.GETVERTICES(tl.geometry
)) t
GROUP BY t.X, t.Y
);
commit;
Now I just have to wait for Oracle to spatially index 21m point geometries!
thanks,
Tom
On 7/23/07, Justin Deoliveira <jdeolive@anonymised.com> wrote:
Hi Tom,
Unfortunately I think this is probably the best solution. Are you using
postgis? Perhaps pgRouting can work for you.
-Justin
Tom (JDi Solutions) wrote:
It looks like this is not possible since PointSymbolizer should render
on the centre point of a geometry and LineSymbolizer appears to have no
capability to show only the nodes. Looks like I’m going to have to try
to extract the nodes into a seperate layer at the database level and
then render that layer as a point dataset.
If anyone has a better solution please let me know, cheers.
On 7/23/07, Tom (JDi Solutions) < tom.dean@anonymised.com
mailto:[tom.dean@anonymised.com](mailto:tom.dean@anonymised.com)> wrote:
Hi all,
Hopefully someone will just know the answer to this…
Is it possible to style a layer of polygons and lines to show only
the nodes that make up the polygons and lines?
If I come up with the answer from the sld spec before I get a reply
I’ll post it here…
cheers,
Tom
!DSPAM:4007,46a49c0b318161030819293!
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
!DSPAM:4007,46a49c0b318161030819293!
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,46a49c0b318161030819293!
–
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
On Mon, July 23, 2007 5:40 pm, Tom (JDi Solutions) wrote:
No I'm using Oracle but thanks for confirming my fears.
Hum, I think we should set up a page listing known limitations
of SLD, and once we have a group of them maybe try to formally
address them to the SLD comitee in OGC.
So far I've seen this, the ability to render only the border
when applying a polygon symbolizer to a linestring (useful if
the layer turns out to have mixed geometry types), and the ability
to specify the external graphics URL using an expression instead
of a static string, to make it possible connecting to an
external symbol server (think complex graphics or charts).
Cheers
Andrea