Hi Sarah,
Thanks for your reply.
I tried using
http://dev.openlayers.org/releases/OpenLayers-2.9/examples/getfeature-wfs.html
http://dev.openlayers.org/releases/OpenLayers-2.9/examples/getfeature-wfs.html
but it doesn't work.
How ever when I create a WFS atop a WMS and then do getfeature on
Hello,
I have overwrite the TileCache class for show my own tiles (no geographic
data) but I don't know how the control position give me wrong value
I have configure my map like this:
var _size = new OpenLayers.Size(300, 300);
map = new OpenLayers.Map( 'map', {
tileSize : _size,
Hi Arnd,
thanks for your answer!
Please read below.
Hi,
i'm not sure, why you need a layer for your selected
feature. Why not use the selectFeatureControl on the wfs
layer.
I use my Control.SelectFeature with my wfs layer(wfs2)- or don`t I use the
Hi list,
I've developed a simple control for my GIS viewer. It's a status bar in which I
set some messages and the mouse position, with some options to change the
display projection. It works OK, but the thing is that I want to avoid some
controls to work when I'm over the status bar, for
Hi,
I think you cannot use a circle instead of a box. But you can change your code
to do a GeFeature-request with a filter, so you can request your features
around a circle area.
To question 1: I had same occurrence with the fast disappearing box- but I
think that has to do with event and
I've got some code lying around to do circle selection with the GetFeature
control. If anybody is interested I can open up a ticket with a patch.
Some handlers have a persist option which indicate whether or not the
drawn geometry should persist (not be cleared after drawing), however the
box
Hi Bart,
I am interested in the circle selection with the GetFeature
control.
Pls open the ticket with the instruction on how to use the patch.
Further I have one query regarding filter.
1)For getting the feature details within a selected area I think I need to
use WITHIN FILTER? yes or no
Hi,
for question 1 and 2: yes. For question 3 you can use buffer.
best regards
Sarah
Von: sunny74 sb@hotmail.com
An: users@openlayers.org
Gesendet: Dienstag, den 27. April 2010, 11:16:33 Uhr
Betreff: Re: [OpenLayers-Users] control.SelectFeature
Hi Bart,
Hi,
I did not use a filter yet. But I think you can find some examples at example
page of OL
(http://dev.openlayers.org/releases/OpenLayers-2.9/examples/filter.html for
example).
There is no filter named buffer. You can make a GetFeature request with param
buffer(distance).
DWITHIN is using
Hey
Im currently using OpenLayers and OSM as maps in my application, i have
found different hacks and codes that gives me partial touch support or only
working good on iphone.
Found: http://mab.edina.ac.uk/geomobile-test/osm.html that seems buggy on
android (htc desire) but works better on
As one person has told me I have managed to solve this problem by using
Geoserver and render my vectors by this tool.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Optimization-many-vectors-tp4950514p4968440.html
Sent from the OpenLayers Users mailing list
Dear Friends,
I am trying to apply spatial filter to my GEtfeature requests on WFS layer
atop a WMS.
If I look at the spatial filter documentation
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Filter/Spatial-js.html
Hi,
you need to specify filterType. The control will take care of providing
the values. So:
var control = new OpenLayers.Control.GetFeature({
..
filterType: OpenLayers.Filter.Spatial.INTERSECTS
..
});
Best regards,
Bart
Dear Friends,
I am trying to apply spatial filter to my
Something similar happens to me when I tried 2.9 version.
I'm using Vector Layer with one vector of Geometry Points. If I use circle
in graphicName of Style Map it puts in a good position but If I instead I
use triangle with rotation propierty it puts in a bad postion.
In my case this happens
Hi Bart,
I tried both the Intersects as well as the WITHIN Filter with the filtertype
as suggested by you.
In both cases I get the same result i.e Intersects does not give me only the
intersecting features and Within does not give me only the features
completely within the selection.
It could
The control fills in the value as I said before.
Please install Firebug and check the request generated by OpenLayers and
sent to your WFS.
Bart
Hi Bart,
I tried both the Intersects as well as the WITHIN Filter with the
filtertype
as suggested by you.
In both cases I get the same result
I tried 2.9 and I ran into similar issues as well. I finally got around to
stripping it down, so here are two simple examples showing it :
2.8 : http://vizure.net/temp/ol/rotation_2_8.html
2.9 : http://vizure.net/temp/ol/rotation_2_9.html
Both are exactly the same, except for which version of
Hi,
I am trying to display vector layers from my WFS created in geoserver in
openlayers application. However, the WMSs display without errors but when I
try to display the vectors via the code below as overlays nothing display in
the map window. I tried a KML example from file but to no avail;
Hi Sarah,
the example shows how to retrieve features from a wms layer. But you have a
vector layer (wfs layer). So you can link the SelectFeatureControl to that
layer.
ctrlSelectFeatureOptions = { clickout: true, toggle: true, multiple: false,
hover: false, toggleKey: ctrlKey, multipleKey:
Hello,
New to openlayers and need some advice: I need to symbolize a polygon layer
that consists of 5 polygons. Each polygon will be symbolized based on a time
value that is pulled from a postgresql database. What is the best method of
changing the fillcolor of each polygon in the layer based on
On Mon, Mar 8, 2010 at 7:02 PM, Armin Burger armin.bur...@gmx.net wrote:
Hi all
I'm currently trying to test OpenLayers for an application with a
catalogue search interface. The layer which is queried is based on
PostGIS and retrieved from OL as WMS layer based on Mapserver/MapScript.
The
Hi,
On Apr 27, 2010, at 15:56 , Lennox Antoine wrote:
I tried 2.9 and I ran into similar issues as well. I finally got around to
stripping it down, so here are two simple examples showing it :
2.8 : http://vizure.net/temp/ol/rotation_2_8.html
2.9 :
On Thu, Apr 22, 2010 at 1:30 PM, Tobias Sauerwein
tobias.sauerw...@camptocamp.com wrote:
Hi!
I am trying to get a WKT string from a OpenLayers.Geometry.Collection,
but only null is returned. I found this ticket [1], but which is 8
months old. Is this method still not implemented yet for
Hi,
I now have my vector layers being displayed properly in the image and the
result looks ok, but I still have one small problem: when I move the map,
the generated image remains the same. I need to do a zoom out and zoom in to
have the generated image reinitialized to the right position.
Thanks a lot for this answer
Yes, I gave it a try with the getCentroid() method, but what I do not get is
how to constrain a rule so as to display a centroid instead of a polygon,
without adding the centroid (as a new feature) to the layer.
If this is not possible, I think the best option would be
When I display an OpenLayers map, with a MousePosition control in an external
div, when I destroy the map, the external div is not cleared.
The div into which the map is displayed is cleared, and I see the background
color it had before the map was opened, but the external div into which the
26 matches
Mail list logo