He Bas,
for 2.5 I hacked something like that together.
I added some of it to the EditingToolbar Example here:
http://www.duif.net/openLayers27/examples/ctrlz.html
in this demo it's only working for line drawing.
Don't know what is the preferred way, but it was working for me...
Regard
erc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED] +no_defs <>
Regards,
Richard Duivenvoorde
I think this will become(?? anybody an idea here why these definitions
(from proj) are different?):
<3785> +proj=merc +lon_0=0 +k=1 +x_0=0 +y
or the other way around
SELECT AsText(Transform(GeomFromText('POINT(140313.905612639
473062.480785896)', 28992), 4326))
HTH,
Regards,
Richard Duivenvoorde
ps, both options above will only work when you have the right epsg codes
in your proj/postgis configuration
Matthew Pettis wrote:
Hi Cristian,
try removing the comma after
new OpenLayers.Control.ScaleLine(),
IE doesn't accept an array of objects to end on a comma (while FF finds
that ok)
Hope this helps,
Richard Duivenvoorde
[EMAIL PROTECTED] wrote:
>
> Hi list I created a really small OpenLayer applic
re still on 2.6.
In firebug, if you 'Watch' the variable OpenLayers.VERSION_NUMBER it
shows '$Revision 6819' with me (this is a 2.6 release downloaded
yesterday).
Regards,
Richard Duivenvoorde
Adorian Ardelean wrote:
> Hi,
>
> I have been playing with openlayers merging
minfeaturesize (50)
(angle)
end
..
TILECACHE:
[layerx]
metaTile=true
metaBuffer=10
Mmm, ended up with al long email, hope this helps for somebody.
Maybe it's an idea to put this kind of info in a nice (illustrated) wiki
article?
Regards and fiddle around,
Richard Duive
://www.openlayers.org/download/OpenLayers-2.5.zip
in the examples dir of that one there is a spherical-mercator.html which
doesn't use Projection (yet).
Hope this helps,
Regards Richard Duivenvoorde
Tara Athan wrote:
> I am trying to understand the spherical mercator example
> http://openlay
Hi R,
I think, it is really working as it should:
If I take the code of the example of:
http://www.openlayers.org/dev/examples/custom-style.html
and add a layerswithcher as in
http://www.openlayers.org/dev/examples/layerswitcher.html
I can change styles like position etc in a css style blok in t
r Schmidt [mailto:[EMAIL PROTECTED]
> Sent: November 6, 2007 7:18 AM
> To: Richard Duivenvoorde
> Cc: [EMAIL PROTECTED]; users@openlayers.org
> Subject: Re: [OpenLayers-Users] Newbie: accessing Arcweb data
>
>
> On Tue, Nov 06, 2007 at 03:42:18PM +0100, Richard Duivenvoorde wro
ayers (with arcims) onto google maps and
> it's not possible to add a new epsg to the ArcIms, so i can't work with
> epsg900913 like in http://trac.openlayers.org/wiki/SphericalMercator
>
> is there any other possibility?
>
> Is there a way to do this?
>
>
>
'projection':'EPSG:32616',
'units':'m',
'maxExtent':new OpenLayers.Bounds(582919,4182989,610195,4207241),
});
hope this helps something.
grtz,
Richard Duivenvoorde
ps have also a look at
http://www.openlayers.org/dev/examples/projected-map.ht
with options that
include {theme: null}. This will disable the default method of loading
the stylesheet and allow you to declare style rules in your own linked
stylesheets or style tags.
<< end cut
Richard Duivenvoorde
R. Ortner wrote:
> hi,
>
> no, i only use my o
Hi Reinhard,
looks like the styles from you stylesheet are overridden by script?
Did you include the default stylesheet as a link and declare any style
modifications below that link?
Like shown/mentioned here:
http://www.openlayers.org/dev/examples/custom-style.html
Richard Duivenvoorde
R
s HTTPRequest, WMS extends Grid etc.
Regards,
Richard Duivenvoorde
Stewart Nimmo wrote:
> I am a newbie to Openlayers, with limited javascript experience. I am
> trying to access and display data services such as Arcwebservices, but
> I'm not clear if I insert th
Ok FIXED I can confirm myself now. Stuff lines up ok.
Old mistake: epsg:900913 was ok, but the string for the source
projection was wrong on the server (old dutch 28992 problem :-( )
Lining up beautifull now!
Richard D
Richard Duivenvoorde wrote:
> Hi List,
>
> I'm tryin
mat':'image/gif', TRANSPARENT:true}, {'buffer': 0, isBaseLayer:
false, singleTile: true} );
Tried both reprojecting the data in postgis, using
+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0
+k=1.0 +unit
ecache. Which looks fine
to me actually.
Some checkpoints:
- look in you mapserver (or IIS) logfiles IF the tilecache cgi is
calling your mapserver in the right way (by the way your IIS logfiles
are somewhere like: C:\WINDOWS\system32\LogFiles\W3SVC1\... )
- taking the mapserver url's from
chive move?
Or is the BuildingFromSource-page an old page (looks nice and clean
though), not to be used anymore?
Thanks,
Richard Duivenvoorde
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
#x27;, use the Ajax and 'class' code of OL,
organize your constants etc etc)?
Richard Duivenvoorde
ps: I do understand this is probably nothing new for the OL-dev-guys
themselves, but posted for all the humble webapp builders
(OL-users-guys) like me ;-)
nents[lineidx]);
lineControl.handler.modifyFeature();
lineControl.handler.drawFeature();
}
It's maybe more clean to do it your way: make a new control.
Thanks for your help!
Richard Duivenvoorde
Jachym Cepicky wrote:
> Hi,
>
> I have this - using [backspace] or [delete]
while
you are drawing it, and the point-callback get's a 'Point' as argument
(instead of the Linestring?).
Have been looking into the source of the DrawFeature control and Path
Handler, but couldn't find a hook.
Somebody an idea for
Thanks both!
It's working now.
Richard
Richard Duivenvoorde wrote:
> Hi,
>
> I'm using the DrawFeature control to let users define linestrings. I can
> capture the doubleclick event (for ending the line) using
> lineLayer.onFeatureInsert
>
> But I cannot find
nt to be able to
count the number of segments, because I want to be sure the will be not
more then 20 segments in certain lines.
Regards
Richard Duivenvoorde
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Just wanted to say that the examples pages:
http://www.openlayers.org/dev/examples/
are very very much appreciated!
(that's what missing on google maps: you have to find everything out
from fora and api or squ).
I 'm building a featuredrawing application, and was 100% sure that I had
seen it (l
24 matches
Mail list logo