Hi,
I am doing a shortestpath() function of oracle spatial on a roadnetwork and
storing the result set into a path table (SHORTEST_PATH) and path link
table. It is a simple line. Following is the style sheet i used for the road
table and works fine But for the SHORTEST_PATH table, it visualizes an empty
screen.
Can any body give a clue, where i am making the mistake?
cheers,
choesang
------------SLD--------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld
StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- a named layer is the basic building block of an sld document -->
<NamedLayer>
<Name>Default Line</Name>
<UserStyle>
<!-- they have names, titles and abstracts -->
<Title>A boring default style</Title>
<Abstract>A sample style that just prints out a green line</Abstract>
<!-- FeatureTypeStyles describe how to render different features -->
<!-- a feature type for lines -->
<FeatureTypeStyle>
<!--FeatureTypeName>Feature</FeatureTypeName-->
<Rule>
<Name>Rule 1</Name>
<Title>Green Line</Title>
<Abstract>A blue line with a pixel width</Abstract>
<!-- like a polygonsymbolizer -->
<LineSymbolizer>
<Stroke>
<CssParameter name="stroke">#0000ff</CssParameter>
<CssParameter name="stroke-width">1.0</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
-------------GeoServer------------------------------
START_NODE_ID: decimal nillable:true min:1 max:1
END_NODE_ID: decimal nillable:true min:1 max:1
COST: decimal nillable:true min:0
max:1
SIMPLE: string nillable:true min:0 max:1
PATH_NAME: string nillable:true min:0 max:1
PATH_TYPE: string nillable:true min:0 max:1
GEOMETRY: nillable:true min:0 max:1
-----------------------SHORTEST PATH data
description-----------------------------------
Name Null? Type
----------------------------------------- --------
----------------------------
PATH_ID NOT NULL NUMBER
START_NODE_ID NOT NULL NUMBER
END_NODE_ID NOT NULL NUMBER
COST NUMBER
SIMPLE VARCHAR2(1)
PATH_NAME VARCHAR2(200)
PATH_TYPE VARCHAR2(200)
GEOMETRY SDO_GEOMETRY
------------------GEOMETRY COLUMN OF SHORTEST_PATH--------------------------
GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
SDO_ORDINATES)
--------------------------------------------------------------------------------
7.647, 5152280.46, 677410.573, 5152275.44, 677403.785, 5152269.96,
677397.283, 5
152265.31, 677390.209, 5152261.11, 677384.85, 5152258.26, 677381.92,
5152257.66,
677378.469, 5152258.04, 677373.989, 5152258.48, 677365.89, 5152259.6,
677366.56
7, 5152264.76, 677366.796, 5152266.73, 677367.997, 5152278.51, 677369.141,
51522
90.3, 677371.002, 5152301.92, 677371.431, 5152303.8))
--
View this message in context: http://www.nabble.com/Geoserver-no-image-tp14995003p14995003.html
Sent from the GeoServer - User mailing list archive at Nabble.com.