On Mon, Dec 9, 2013 at 3:20 PM, gzaccagnino <[email protected]>wrote:

> Thank you, for the fantastic geoserver.
> I'm try the example
>
> <FeatureTypeStyle>
>      <Rule>
>        <PointSymbolizer>
>          <Graphic>
>            <ExternalGraphic>
>              <OnlineResource
>                xlink:type="simple"
>                xlink:href="smileyface.png" />
>              <Format>image/png</Format>
>            </ExternalGraphic>
>            <Size>32</Size>
>          </Graphic>
>        </PointSymbolizer>
>      </Rule>
>    </FeatureTypeStyle>
>
> with the normal point, all works fine, with the triangle, all works fine.
> when i try with the example above, qgis, collegated via wms don't show
> nothing.
> the question is where i have to put the file smileyface.png?
> is a way to set a path un my pc?
> I 'm using windows7, xampp (tomcat e Apache), and i have installed
> geoserver, last version.
> when i use the style, point as graphics, with a shape file of point, don't
> show the smiley...
> with normal point graphics show the point rightly...
> where's my mistake?
>

The smileyface.png file should be placed in the styles folder of the
Geoserver
data directory, that is, in the same place as the SLD file, in order to
work.

Otherwise, you can also use an absolute path to the file, or a reference to
a
resource served by an HTTP server (e.g.,
http://maps.google.com/mapfiles/kml/shapes/airports.png)

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to