|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Merge polygonsHey!
I have two polygons (from a shape file) which share an edge, i can render each one perfectly (left image side). Now i'd like to render this 2 polygons as one polygon (right image side). Would this be possible using some special SLD filter? Or is this not possible at all. ![]() |
|
|
Re: Merge polygonsGeoUser ha scritto:
> Hey! > > I have two polygons (from a shape file) which share an edge, i can render > each one perfectly (left image side). Now i'd like to render this 2 polygons > as one polygon (right image side). Would this be possible using some special > SLD filter? Or is this not possible at all. > > http://www.nabble.com/file/p20619948/polys.png Not possible at all, SLD does not alter the geometric nature of the data. If you need that, you'll have to use some other tool to merge the polygons (postgis has merge functions for example, so you could eventually create a view that does the merge on the fly). Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: Merge polygonsI see, i was expecting something like that ;)
This seems like something that could help with the problem. What's the status of this? docs |
|
|
Re: Merge polygonsGeoUser ha scritto:
> I see, i was expecting something like that ;) > > This seems like something that could help with the problem. What's the > status of this? > http://geoserver.org/display/GEOS/selectDerivedFeatureType docs As you can see the page is 3 years old. It's the first time I see it actually, so I can assure you that thing is dead. We're considering adding the ability to specify a query to build a new feature type for JDBC databases, but it's not trivial and we have no one sponsoring/working on it so it won't be done anytime soon. The good news is that you can buid a view in your database and then you can treat it like any other feature type, so you don't actually need the above. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: Merge polygonsYes, i saw that it is 3 years old, that's why i thought that something has been done in this area. I guess i'll check out the views.
Thanks for the info Andrea!
|
| Free Forum Powered by Nabble | Forum Help |