Hello
I had to do an intervention on a project using google projection
(epsg:900913).
That projection is supposed being metric, but to be able to get correct
measurement values (in meters) with the OL Measure control, I had to specify
geodesic as true in the controler's config.
why ?
is the
On May 11, 2010, at 12:29 , Oliver Christen wrote:
Hello
I had to do an intervention on a project using google projection
(epsg:900913).
That projection is supposed being metric, but to be able to get correct
measurement values (in meters) with the OL Measure control, I had to specify
Hi all,
I'm using measure controls with google maps layer.
You can see my test page at http://webgis.iamc.cnr.it/webgis/prova/test3.html
As you can see, using measure tool, ther's a shift between cursor position and
features.
Also, I save digitized features in a vector layer, and when I zoom out,
I have a MeasureControl setup to draw a line, now I need it to show
distance on hover.
I've used graphicTitle to do this in the past, but I cant seem to figure
out how to do
the same when the feature is built with the control.
I can listen for the measure event, but the vector doesn't appear to
Hello,
I created a measure control based on the measure.js example
My measure control doesn't display the good distance. The distance is
longer than expected.
I tried with these coordinates
# : lat, long
Point 1 : 46.81509864093307, -71.22436522446064
Point 2 : 45.54483148742626,
I think you are looking for the Vincenty distance formula.
It's included in the examples as well.
To: users@openlayers.org
From: steve.tout...@inspq.qc.ca
Date: Mon, 3 Aug 2009 10:44:10 -0400
Subject: [OpenLayers-Users] Measure control problem
Hello,
I created a measure control based
, users@openlayers.org
cc
Objet
RE: [OpenLayers-Users] Measure control problem
I think you are looking for the Vincenty distance formula.
It's included in the examples as well.
To: users@openlayers.org
From: steve.tout...@inspq.qc.ca
Date: Mon, 3 Aug 2009 10:44:10 -0400
Subject: [OpenLayers
.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.tout...@inspq.qc.ca
http://www.inspq.qc.ca
Steve Toutant/INSPQ/
03/08/2009 11:01 AM
A
Kwong Hu Kiu kwon...@hotmail.com
cc
users@openlayers.org
Objet
RE: [OpenLayers-Users] Measure control problem
No, I need planar distance since my
Hi Andreas,
Sorry to bring this question back from the dead, but unless I'm missing
something obvious, the sketchmodified event / modify callback aren't
triggered from Handler.RegularPolygon. This makes some sense, as they're
supposed to take the modified vertex, and in the RegularPolygon, all
I'm a tad confused here. Is none of this possible in 2.7?
Matt
Josh Rosenthal wrote:
D'oh! Yes, that should have been obvious. Either use whatever is
being triggered by the modify callback, or set a custom one if the
control isn't already using one.
Much obliged,
Josh
On Wed, Apr 22,
Hi,
the solution (if you're using trunk or 2.8) is quite simple. The snippet
below replaces the definition of measureControls in the measure example
(starting around L65)
measureControls = {
line: new OpenLayers.Control.Measure(
It works great! Thanks a lot.
Pribram
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hi Andreas,
Thanks a lot for the solution using callbacks. I was wondering if you could
suggest how that might be adapted to give the measurements on a draw
feature. It's much easier than what I was previously doing for measure and
drawFeature (passing a customized modifyFeature function in the
Josh Rosenthal wrote:
Thanks a lot for the solution using callbacks. I was wondering if you
could suggest how that might be adapted to give the measurements on a
draw feature. It's much easier than what I was previously doing for
measure and drawFeature (passing a customized modifyFeature
D'oh! Yes, that should have been obvious. Either use whatever is being
triggered by the modify callback, or set a custom one if the control isn't
already using one.
Much obliged,
Josh
On Wed, Apr 22, 2009 at 4:35 PM, Andreas Hocevar ahoce...@opengeo.orgwrote:
Josh Rosenthal wrote:
Thanks
Hi,
Is there anything new about measuring + getting distance on mousemove?
http://n2.nabble.com/Measure-Control---get-distance-on-mouse-move-td2503580.html
If there is a solution, please publish it.
Thanks,
Pribram
___
Users mailing list
-Users] measure control...
Hi,
try displaySystem: 'english' in the constructor options.
Best regards,
Bart
David Hollema wrote:
My map is in units of feet. My measure control returns units of
meters. Is there a way to specify what units the measure control
returns? I tried
My map is in units of feet. My measure control returns units of meters.
Is there a way to specify what units the measure control returns? I
tried it in the constructor options below but it still returns units of
meters.
var measureControl = new
Hi,
try displaySystem: 'english' in the constructor options.
Best regards,
Bart
David Hollema wrote:
My map is in units of feet. My measure control returns units of
meters. Is there a way to specify what units the measure control
returns? I tried it in the constructor options below but
]
On Behalf Of Bart van den Eijnden (OSGIS)
Sent: Friday, April 03, 2009 10:47 AM
To: David Hollema
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] measure control...
Hi,
try displaySystem: 'english' in the constructor options.
Best regards,
Bart
David Hollema wrote:
My map is in units
Has anyone made the measure control get the distance on mouse move? After
the first point has been added it would be nice to see a 'real-time'
distance using the current mouse position as the final point.
Just thought I'd check to see if someone had already done it and was willing
to share.
Hi,
I'm using the OpenLayers.Control.Measure control.
From the many examples found, the handler declaration can either be :
1) function handleMeasr(geometry, length, area, units) {}
2) function handleMeasr(event) {}
Since I need the area the perimeter, the first one should be the
Hi James,
the first syntax is OL 2.6, the second is OL 2.7.
I assume you are using a Polygon handler and want to retrieve both the
area and the length?
The event thrown by the Measure control only contains the area in the
evt.measure property in this case, so you have to calculate the length
23 matches
Mail list logo