Hi,
I have this module which lets the user enter a feature ID and submit as a request to zoom in to display the feature on the map. My requirement now is to add an indicator, which is an image file (such as JPEG, GIF), next to the feature to display to the user that the feature is the one which he just submitted with the feature ID.
-
Is this possible to be done?
-
If possible, how can it be done? Is the image file to be done on a separate map layer?
-
Or am I supposed to put the image file as an online resource which is to be referenced to in my application? If so, how can I do it such that the image will be put at the lat-lon position of the feature?
My apologies if the questions I am asking seem to be rather vague or require a lot of explanation. As a matter of fact, I am not sure how I can go about doing this and thus am brainstorming, so hope someone could shed some light for me on this. Of course, it would be great if there are some reference which I can refer to. Thanks in advance.
Regards,
Lee Wai See
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
Here is the snippit from an SLD file:
<PolygonSymbolizer>
<Fill>
<GraphicFill>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="grass_fill.png"/>
<Format>image/png</Format>
</ExternalGraphic>
<Opacity>
<ogc:Literal>1.0</ogc:Literal>
</Opacity>
<Size>
<ogc:Literal>30</ogc:Literal>
</Size>
<Rotation>
<ogc:Literal>0.5</ogc:Literal>
</Rotation>
</Graphic>
</GraphicFill>
</Fill>
...
This allows you to attach images textures to your map. The images need to be placed in the same directory as your SLD files. I haven't tried using a graphic with points but I think it is the same format as above, just drop it under a pointSymbolizer.
The GeoServer demos are on the 'Demo' part of the web GUI.
Brent Owens
(The Open Planning Project)
Lee Wai See wrote:
Hi,
I have this module which lets the user enter a feature ID and submit as a request to zoom in to display the feature on the map. My requirement now is to add an indicator, which is an image file (such as JPEG, GIF), next to the feature to display to the user that the feature is the one which he just submitted with the feature ID.
1. Is this possible to be done?
2. If possible, how can it be done? Is the image file to be done on
a separate map layer?
3. Or am I supposed to put the image file as an online resource
which is to be referenced to in my application? If so, how can I
do it such that the image will be put at the lat-lon position of
the feature?
My apologies if the questions I am asking seem to be rather vague or require a lot of explanation. As a matter of fact, I am not sure how I can go about doing this and thus am brainstorming, so hope someone could shed some light for me on this. Of course, it would be great if there are some reference which I can refer to. Thanks in advance.
Regards,
Lee Wai See
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users