Hi folks.
I have Geoserver running on a Windows XP x64 box. I have installed the Image-IO extensions, and managed to get them working. However, what I cannot get to work is making all of this start as a service. If I run from the Startup.bat, all is well. However, if I install as a service, all of the Coverage plug-ins associated with Image-IO are not there.
I realize this is a fairly non-standard setup, but if anyone has any ideas, I would appreciate hearing them.
Thanks,
Bill
I'm using a layer whose geometry type is 'GEOMETRY' and I'm storing it on PostgreSQL/Postgis
As you may know, this kind of generic layer can store all three types of simple geometries: points, linestrings and poligons.
Is there any mean to build up a SLD which can apply three different styles on the three different geometries types?
Actually, what I could do is apply all the three styles on all geometries: this gives the results that open linestrings are filled and a point-marker is placed in their baricenter!
Thanks all;
Marco Foi
Marco Foi ha scritto:
I'm using a layer whose geometry type is 'GEOMETRY' and I'm storing it on PostgreSQL/Postgis
As you may know, this kind of generic layer can store all three types of simple geometries: points, linestrings and poligons.
Is there any mean to build up a SLD which can apply three different styles on the three different geometries types?
There is no standard way, but GeoServer has a filter function
called GeometryType that takes the geometry attribute as a parameter
and returns the type name as a JTS class Name, so you get
back LineString, LinearRing, Polygon, Point and so on (beware
of the multi types as well, MultiLine, MultiPolygon, MultiPoint,
shapefiles always contain multi ones).
This way you can build a filter for your rule.
For example:
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:Function name="GeometryType">
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
<ogc:Literal>Point</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
would match only geometries that are simple points (assuming
your geometry field is named "the_geom").
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Ciao Bill,
we are in the provess of building the imageio-ext bindings directly on
64 bits windows and linux right now, however we usually do not use the
windows service for geoserver. We might come up with more info after
we have built the lib.
What are the details of your setup?
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
-------------------------------------------------------
On Fri, Dec 5, 2008 at 1:22 PM, Bill Ten Broeck <btenbroeck@anonymised.com> wrote:
Hi folks.
I have Geoserver running on a Windows XP x64 box. I have installed the
Image-IO extensions, and managed to get them working. However, what I
cannot get to work is making all of this start as a service. If I run
from the Startup.bat, all is well. However, if I install as a service,
all of the Coverage plug-ins associated with Image-IO are not there.
I realize this is a fairly non-standard setup, but if anyone has any
ideas, I would appreciate hearing them.
Thanks,
Bill
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users