[Geoserver-users] How to know the buildings number that located along a line segment

Hi all,

I’m struggling to find a way to get the line direction stored on shape file from its geometry, is there any tool can get it for me?

Also, I have two layers of map: Roads layer (of type polyline), Building layer (of type polygon)

I wanna to get the number of buildings located on the left or right sides of a street segment,Is there any way to do that?

how can i do that through the geometric analysis.

Reagrds,

Marwa Elsaid

2011/8/29 marwa El-said <melsaid2009@anonymised.com>:

Hi all,

I'm struggling to find a way to get the line direction stored on shape file
from its geometry, is there any tool can get it for me?

Also, I have two layers of map: Roads layer (of type polyline), Building
layer (of type polygon)

I wanna to get the number of buildings located on the left or right sides of
a street segment,Is there any way to do that?

how can i do that through the geometric analysis.

Hmm... this sounds like a WPS (Web Processing Service) application,
though how this needs to get implemented depends a lot on the
data structure.

You may get away with a simple proximity query if you use the "querylayer"
extension, though it won't tell you if a building is right or left and might
intercept unrelated buildings at crossroads.
http://docs.geoserver.org/latest/en/user/extensions/querylayer/index.html

Cheers
Andrea

Reagrds,

Marwa Elsaid

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------