0
votes
0answers
80 views

Draw point on google map

i try to add google map on my own wms and wfs layer. everything works but when i create point, i intersect point geometry and my geojson data. So without googlemap it was run. But when add google map, ...
0
votes
1answer
239 views

Polygon color on intersect

Using OpenLayers, I am loading a large geojason file of about 4000 polygons. Once the polygons are loaded I want to draw a "LineString" on the map (already done and working). My challenge is that I ...
1
vote
1answer
165 views

openlayers point intersection

For example, I have 2 points and I want to know if they intersect. If yes, I need to delete first points. Should I use OpenLayers .intersects method? Because it greatly depends on zoom level. Or ...
3
votes
1answer
394 views

Intersection of drawn polygon with WMS layer features. Better of two methods?

Scenario: Several WMS layers with polygon features. Objective: Draw a polygon with OpenLayers and allow it only if doesn't not cut any features in WMS layer. It can contain the features as a whole ...
4
votes
2answers
1k views

OpenLayers - Get features inside a polygon

In my OpenLayers map I allow users to draw an ad-hoc polygon vector. Then I need to get all the features from a WFS vector layer that fall within the ad-hoc polygon. Here is the code I have that ...
0
votes
3answers
695 views

Trying to fetch feature data by intersecting Vector Polygon and WMS feature layer

I am trying to intersect a user defined polygon with a Point WMS Feature Layer. I am using the following code action = new GeoExt.Action({ text: "draw poly", control: new ...
1
vote
1answer
781 views

GetFeature Request with Polygon Intersecting Polygons

My task is very straightforward: a user draws a polygon and query all parcel polygons. The query string extends the URL limit. So I am posting XML to WFS. However, GeoServer always returned 0 feature, ...
2
votes
2answers
2k views

How to query which features of all vector layers intersect with a given bounds?

I am writing a Openlayers map app, and wondering whether there's a better practice to query which features of which vector layers intersect with a given bounds.. It's certainly not a good idea to ...
13
votes
6answers
6k views

How to use ST_Intersection?

Here's a quick summary about what I'm trying to do: I have 3 tables in Postgres, 'a' and 'b', each have a Polygon column, and 'c' has a Point column. What I'm trying to do here is to get the ...
5
votes
1answer
2k views

How to get the intersecting polygon of two polygons? (using JSTS intersection)

I want to intersect two polygons within an OpenLayers layer. I found the JSTS library, which should be able to intersect two polygons, and return the new created polygon of the intersection. The ...