I would wish to be able to draw a polygon on the layer “states” of
geoserver.
I chose the solution of connection SLD with a file .sld in the URL.
Here the file sld but only the symbolization of the "population" appears and
not the polygon.
I does not understand why the "gml" is not taken into account
Thank you for your assistance
You need to remove the "layers=topp:states" parameter from your request.
The reason being that if specified, only the style that matches that
name will be rendered. Removing it causes all teh layers from your sld
to be rendered.
-Justin
Pouldu wrote:
Hello,
I would wish to be able to draw a polygon on the layer “states” of
geoserver.
I chose the solution of connection SLD with a file .sld in the URL.
Here the file sld but only the symbolization of the "population" appears and
not the polygon.
I does not understand why the "gml" is not taken into account
Thank you for your assistance
Justin, has which place must one remove the name of the layer?
Thank you
Hervé
Continuum-3 wrote:
Hi Pouldu,
You need to remove the "layers=topp:states" parameter from your request.
The reason being that if specified, only the style that matches that
name will be rendered. Removing it causes all teh layers from your sld
to be rendered.
-Justin
Pouldu wrote:
Hello,
I would wish to be able to draw a polygon on the layer “states” of
geoserver.
I chose the solution of connection SLD with a file .sld in the URL.
Here the file sld but only the symbolization of the "population" appears
and
not the polygon.
I does not understand why the "gml" is not taken into account
Thank you for your assistance
The red triangle appears without the layer and is independent.
My objective is to create a drawing layer without using Postgis which one
can make apparaitre or not.
thank you and Afflicted for my disastrous English
Pouldu wrote:
Sorry, I was mistaken in the BBOX.
Finally operation is correct with this URL:
Justin, has which place must one remove the name of the layer?
Thank you
Hervé
Continuum-3 wrote:
Hi Pouldu,
You need to remove the "layers=topp:states" parameter from your request.
The reason being that if specified, only the style that matches that
name will be rendered. Removing it causes all teh layers from your sld
to be rendered.
-Justin
Pouldu wrote:
Hello,
I would wish to be able to draw a polygon on the layer “states” of
geoserver.
I chose the solution of connection SLD with a file .sld in the URL.
Here the file sld but only the symbolization of the "population" appears
and
not the polygon.
I does not understand why the "gml" is not taken into account
Thank you for your assistance
The red triangle appears without the layer and is independent.
My objective is to create a drawing layer without using Postgis which one
can make apparaitre or not.
I would like to point out that this sort of thing
can also be done directly in the browser, if you
are playing with a web app. Clients such as OpenLayers
allow you to perform vector drawing directly inside the browser
without any collaboration from the server.
Andrea, completely of agreement.
The problem is the impression of pdf for example.
By using OpenLayers, for an impression in a document pdf, it is necessary to
export the drawings towards the server.
The applications with javascript it is well, but the impressions are very
important in the SIG Web.
It is perhaps possible thanks to Geoserver 1.5.2 and Openlayer to leave
documents pdf including the drawings. I do not know.
For example it is impossible to print the result of the library js
graphic.js.
Cartoweb uses jsgraphic.js and converts the drawings in layers with Postgis.
In a preceding application, I made the drawing with JsGraphic.
I sent the coordinates of the points to the server and redrew the whole with
fpdf. Ouf!!
aaime wrote:
Pouldu ha scritto:
I let us répons itself with myself:
By removing this of file SLD:
The red triangle appears without the layer and is independent.
My objective is to create a drawing layer without using Postgis which one
can make apparaitre or not.
I would like to point out that this sort of thing
can also be done directly in the browser, if you
are playing with a web app. Clients such as OpenLayers
allow you to perform vector drawing directly inside the browser
without any collaboration from the server.