[Geoserver-users] Geoserver-users Digest, Vol 26, Issue 17

Hello to all

Is it possible to use icons as markers on geoserver ?

my implementation is here http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en

I would like to have a custom icon instead of the standard geoserver marker

On Wed, Jul 16, 2008 at 5:21 PM, <geoserver-users-request@lists.sourceforge.net> wrote:

Send Geoserver-users mailing list submissions to
geoserver-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/geoserver-users
or, via email, send a message with subject or body ‘help’ to
geoserver-users-request@lists.sourceforge.net

You can reach the person managing the list at
geoserver-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Geoserver-users digest…”

Today’s Topics:

  1. Re: Problem with EPSG:900913 (Andrea Aime)
  2. Re: Problems getting TextSymbolizer to center (Andrea Aime)
  3. Re: wfs-t: does anyone know a suitable wfs-t client? (Andrea Aime)
  4. missing xsd file (Daniel Dubiel)
  5. Re: missing xsd file (Justin Deoliveira)

Message: 1
Date: Wed, 16 Jul 2008 10:08:30 +0200
From: Andrea Aime <aaime@…1…>
Subject: Re: [Geoserver-users] Problem with EPSG:900913
To: David R Robison <drrobison@…410…>
Cc: geoserver users <geoserver-users@lists.sourceforge.net>
Message-ID: <487DAC7E.7040705@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

David R Robison ha scritto:

I am trying to use EPSG 900913 with Geoserver 1.6.3. When I use the
following URL
http://localhost:8080/geoserver/wms/reflect?layers=dg:RouteWeatherReports&srs=EPSG:900913
I get the following error:
org.vfny.geoserver.wms.WmsException: Error occurred decoding the espg
code EPSG:900913

I just tried with a GeoServer 1.6.3 windows install, worked fine, 900913
gets properly recognized. GeoServer will tell you on startup which data
directory it’s using (the path), can you double check it’s really the
one where you verified the existance of the 900913 declaration?

Also, all the wkt definitions in that property file must be placed in
a single line. Is that your case?

Cheers
Andrea


Message: 2
Date: Wed, 16 Jul 2008 12:23:48 +0200
From: Andrea Aime <aaime@…1…>
Subject: Re: [Geoserver-users] Problems getting TextSymbolizer to
center
To: Jeremy Nix <Jeremy.Nix@…1185…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <487DCC34.4000404@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Jeremy Nix ha scritto:

I’m still having problems trying to center my label upon my polygon.
From zooming in/out it seems as though the label always centers upon
the centroid of the entire polygon, and not the centroid of the viewable
(rendered) portion of the polygon. Is this by design? Have I
configured something incorrectly?

Hi Jeremy,
sorry for the late response. It turns out you’ve spotted a bug, I opened
a jira issue about it:
http://jira.codehaus.org/browse/GEOS-2042

Cheers
Andrea


Message: 3
Date: Wed, 16 Jul 2008 12:44:48 +0200
From: Andrea Aime <aaime@…1…>
Subject: Re: [Geoserver-users] wfs-t: does anyone know a suitable
wfs-t client?
To: Albrecht.Weiser@…1594…
Cc: geoserver users <geoserver-users@lists.sourceforge.net>
Message-ID: <487DD120.3000705@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Albrecht.Weiser@…1594… ha scritto:

OK, my fault :o/
I just took the URL (like udig was asking me for!):
http://localhost:8080/geoserver/ows. I didn’t know it wanted the
capabilities-request. Now it works for me too. Thanks!
But anyway. If anyone had success with another tool - please let me
know!!

TOPP has developed various WFS-T applications with OL, they do
work fine as far as I know, but it still takes an OL wiz to set
them up properly (and OL 2.6 if your want FF3 to work).

Cheers
Andrea


Message: 4
Date: Wed, 16 Jul 2008 15:14:50 +0200
From: Daniel Dubiel <D.Dubiel@…1626…>
Subject: [Geoserver-users] missing xsd file
To: geoserver-users@lists.sourceforge.net
Message-ID: <487DF44A.6080900@…1626…>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed

Hello

I try connect to my geoserver wfs some software. In logs i get
“/geoserver/data/capabilities/gml/2.1.2/feature.xsd (No such file or
directory)”
Where i can find header where this file is define, because file exist
but in path /geoserver/schemas/gml/2.1.2/feature.xsd!?

from geoserver logs:

2008-07-16 14:17:54,432 DEBUG [org.geoserver.ows] - Raw XML request
starts with: <?xml version="1.0" encoding="UTF-8"?>
<wfs:GetCapabilities xmlns:gml=“http://www.opengis.net/gml
xmlns:ogc=“http://www.opengis.net/ogc
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” service=“Wfs”
version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/wfs
…/1.0.0/Wfs-transaction.xsd
/geoserver/data/capabilities/wfs/1.0.0/wfs-transaction.xsd
/geoserver/data/capabilities/gml/2.1.2/feature.xsd”/>

2008-07-16 14:17:54,436 WARN [org.geotools.xml] - Error parsing:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd
2008-07-16 14:17:54,436 WARN [org.geoserver.ows] -
org.xml.sax.SAXException: Error parsing:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd
at
org.geotools.xml.impl.ParserHandler.startElement(ParserHandler.java:294)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.geotools.xml.Parser.parse(Parser.java:185)
at org.geotools.xml.Parser.parse(Parser.java:164)
at
org.geoserver.wfs.xml.v1_0_0.WfsXmlReader.read(WfsXmlReader.java:60)
at
org.geoserver.ows.Dispatcher.parseRequestXML(Dispatcher.java:1072)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:389)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:185)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:303)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.io.FileNotFoundException:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:469)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:897)
at org.geotools.xml.Schemas.parse(Schemas.java:234)
at org.geotools.xml.Schemas.parse(Schemas.java:200)
at
org.geotools.xml.impl.ParserHandler.startElement(ParserHandler.java:290)
… 62 more
2008-07-16 14:17:54,445 INFO [org.geoserver.filters] - 127.0.0.1 “POST
/geoserver/wfs” took 14ms


Message: 5
Date: Wed, 16 Jul 2008 07:21:03 -0700
From: Justin Deoliveira <jdeolive@…1…>
Subject: Re: [Geoserver-users] missing xsd file
To: Daniel Dubiel <D.Dubiel@…1626…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <487E03CF.9080804@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Daniel,

The problem is the schemaLocation attribute of the request. It specifies
a path which probably does not exist. You have two options.

  1. Remove the schemaLocation attribute all together
  2. Update the path so it looks like:

http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd

Note that you should not have to specify the gml 2 schema (feature.xsd)
since its already imported by the wfs schema.

Hope that helps, let us know.

-Justin

Daniel Dubiel wrote:

Hello

I try connect to my geoserver wfs some software. In logs i get
“/geoserver/data/capabilities/gml/2.1.2/feature.xsd (No such file or
directory)”
Where i can find header where this file is define, because file exist
but in path /geoserver/schemas/gml/2.1.2/feature.xsd!?

from geoserver logs:

2008-07-16 14:17:54,432 DEBUG [org.geoserver.ows] - Raw XML request
starts with: <?xml version="1.0" encoding="UTF-8"?>
<wfs:GetCapabilities xmlns:gml=“http://www.opengis.net/gml
xmlns:ogc=“http://www.opengis.net/ogc
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” service=“Wfs”
version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/wfs
…/1.0.0/Wfs-transaction.xsd
/geoserver/data/capabilities/wfs/1.0.0/wfs-transaction.xsd
/geoserver/data/capabilities/gml/2.1.2/feature.xsd”/>

2008-07-16 14:17:54,436 WARN [org.geotools.xml] - Error parsing:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd
2008-07-16 14:17:54,436 WARN [org.geoserver.ows] -
org.xml.sax.SAXException: Error parsing:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd
at
org.geotools.xml.impl.ParserHandler.startElement(ParserHandler.java:294)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.geotools.xml.Parser.parse(Parser.java:185)
at org.geotools.xml.Parser.parse(Parser.java:164)
at
org.geoserver.wfs.xml.v1_0_0.WfsXmlReader.read(WfsXmlReader.java:60)
at
org.geoserver.ows.Dispatcher.parseRequestXML(Dispatcher.java:1072)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:389)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:185)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:303)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.io.FileNotFoundException:
/geoserver/data/capabilities/gml/2.1.2/feature.xsd (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:469)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:897)
at org.geotools.xml.Schemas.parse(Schemas.java:234)
at org.geotools.xml.Schemas.parse(Schemas.java:200)
at
org.geotools.xml.impl.ParserHandler.startElement(ParserHandler.java:290)
… 62 more
2008-07-16 14:17:54,445 INFO [org.geoserver.filters] - 127.0.0.1 “POST
/geoserver/wfs” took 14ms


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


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

!DSPAM:4007,487df469212175409313003!


Justin Deoliveira
The Open Planning Project
jdeolive@…1…



This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/



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

End of Geoserver-users Digest, Vol 26, Issue 17


Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@…84…
URL : www.mpe.gr

Not sure I understand you correctly, but you can use icons for pointsymbolizers in the SLD, see http://docs.codehaus.org/display/GEOTOOLS/Dynamic+SLD+Graphic+objects

Note that GeoServer will download this image every time it renders it, so it's a good idea to serve it from the same host.

-Arne

George Tsolakis wrote:

Hello to all

Is it possible to use icons as markers on geoserver ?

my implementation is here http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en

I would like to have a custom icon instead of the standard geoserver marker

Glad you got it working. I haven't actually tried to use label placement features, but have a look at

http://geoserver.org/display/GEOSDOC/ComplexLabelingExample

Look for <LabelPlacement> (my guess), or try some of the other stuff on that page.

(Adding list again, there are people who know much more than I about these things.)

-Arne

George Tsolakis wrote:

Ok Arne got it. It was very simple :slight_smile:

http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78

one problem now is that label is overlapping icon. :frowning:

Is there a known solutions for that?

- G . Tsolakis

On Wed, Jul 16, 2008 at 9:41 PM, Arne Kepp <ak@anonymised.com <mailto:ak@anonymised.com>> wrote:

    Not sure I understand you correctly, but you can use icons for
    pointsymbolizers in the SLD, see
    http://docs.codehaus.org/display/GEOTOOLS/Dynamic+SLD+Graphic+objects

    Note that GeoServer will download this image every time it renders
    it, so it's a good idea to serve it from the same host.

    -Arne

    George Tsolakis wrote:

        Hello to all

        Is it possible to use icons as markers on geoserver ?

        my implementation is here
        http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en
        <http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en&gt;
        <http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en
        <http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en&gt;&gt;

        I would like to have a custom icon instead of the standard
        geoserver marker

--
------------------------------------------------------
Ãåþñãéïò ÔóïëÜêçò - Ðåñéâáëëïíôïëüãïò
Ãñáöåßï Ðåñéâáëëïíôéêþí Ìåëåôþí
ÆÞíùíïò 57. ÐåñéóôÝñé. ÁèÞíá
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@anonymised.com <mailto:gtsolakis@anonymised.com>
URL : www.mpe.gr <http://www.mpe.gr>
!DSPAM:4038,4889f51044007180515871!