Re: [OpenLayers-Users] Tiff file Calculation.

2009-05-03 Thread Kwong Hu Kiu
I need this urgently. No one has any idea ? Cheers. From: kwon...@hotmail.com To: users@openlayers.org Date: Sat, 2 May 2009 11:36:13 +0800 Subject: [OpenLayers-Users] Tiff file Calculation. Hi, If anyone knows if Openlayers has any function to calculate the Tiff file ? double

Re: [OpenLayers-Users] Tiff file Calculation.

2009-05-03 Thread Bart van den Eijnden (OSGIS)
Not sure if this is what you mean, but: topleft point - map.getExtent().top and map.getExtent().left width - map.getSize().w Best regards, Bart Kwong Hu Kiu wrote: I need this urgently. No one has any idea ? Cheers.

Re: [OpenLayers-Users] Markers change position after zooming

2009-05-03 Thread Albin Blaschka
Albin Blaschka schrieb: So far, so good - or not quite: The markers are set accordingly, but after changing the zoom level the markers are not on the original place anymore. Dear List, I have found a solution to the problem with the jumping markers: I have to use spherical mercator

[OpenLayers-Users] Extent with Spherical Mercator

2009-05-03 Thread Albin Blaschka
Dear List, I have the following code: var map; function initMap() { var proj = new OpenLayers.Projection(EPSG:4326); var options = { projection: new OpenLayers.Projection(EPSG:900913), displayProjection: new OpenLayers.Projection(EPSG:4326), units: m

Re: [OpenLayers-Users] Extent with Spherical Mercator

2009-05-03 Thread Eric Lemoine
On Sunday, May 3, 2009, Albin Blaschka albin.blasc...@standortsanalyse.net wrote: Dear List, I have the following code: var map; function initMap() {     var proj = new OpenLayers.Projection(EPSG:4326);     var options = {         projection: new OpenLayers.Projection(EPSG:900913),

Re: [OpenLayers-Users] Tiff world file Calculation.

2009-05-03 Thread Kwong Hu Kiu
Thanks. Looks like what I need for the calculation. But i would also like to include this tiff world file and the map (bitmap) that's currently displaying on the browser inside a zip archive so the user can download and view them later. This might requires some interaction with the

[OpenLayers-Users] Problem with controls on map (SelectFeature, Drawfeature) - OpenLayers, pgRouting

2009-05-03 Thread paweluz
Hi! First sorry for my poor english :). I am having some problem with the OpenLayers I guess. My application looks like this: http://img245.imageshack.us/img245/3273/aplikacja.jpg http://img245.imageshack.us/img245/3273/aplikacja.jpg It provides searchinkg bus stops and bus lines in my city.

Re: [OpenLayers-Users] Problem with controls on map (SelectFeature, Drawfeature) - OpenLayers, pgRouting

2009-05-03 Thread paweluz
I am working with OpenLayers 2.7 and Geoserver on Windows XP -- View this message in context: http://n2.nabble.com/Problem-with-controls-on-map-%28SelectFeature%2C-Drawfeature%29---OpenLayers%2C-pgRouting-tp2777336p2777346.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] Mouse events on tiles

2009-05-03 Thread tim robertson
Hi all, I am trying to reproduce with openlayers, the same effect that maps.google.com has with overlaying wikipedia articles. I have a TMS layer, rendering the tiles server side and also have a web service providing the info about the pixels on the tile the features are (just like how google

Re: [OpenLayers-Users] Extent with Spherical Mercator

2009-05-03 Thread Albin Blaschka
Eric Lemoine schrieb: On Sunday, May 3, 2009, Albin Blaschka albin.blasc...@standortsanalyse.net wrote: [snip] var bounds = new OpenLayers.Bounds(12.5, 47.0, 13.5, 48.0); bounds.transform(proj, map.getProjectionObject()); var point = new OpenLayers.LonLat(13.0, 47.41);

Re: [OpenLayers-Users] Mouse events on tiles

2009-05-03 Thread Chris Holmes
I'm not sure if they're doing it for the wikipedia layer, but one technique I believe Google uses is to use an html image map instead of javascript for onclick and mouseover events. I'm not sure exactly how that would interact with a tile cache, but I imagine it should, and that's probably

[OpenLayers-Users] stop control propagation

2009-05-03 Thread toni hernández
hi, I have a div with an input type text inside the main map div. The user can edit this input and put the new scale value of the map dynamically. the problem is that when I click on the input (to change the scale) it zooms in (zoom is the default control). As I need to stop propagation I added

Re: [OpenLayers-Users] Mouse events on tiles

2009-05-03 Thread João Duarte
Chris, in the past, Google Maps did it with image maps. But now, they only use image maps for the search results markers. For the other layers (YouTube, Wikipedia, Photos) they use the technique described by Tim. One way to confirm that is to turn on one of those layers and then disconnect

[OpenLayers-Users] Colons in layer names

2009-05-03 Thread AmericanBwana
Good morning, I'd like to use a WMS layer, but it has a colon in it. How do escape it? Here is a snippet of my file var fsroads = new OpenLayers.Layer.WMS(FS Roads Trails, http://columbo.nrlssc.navy.mil/ogcwms/servlet/WMSServlet/USDA_Forest_Service_Geodata_Clearinghouse.wms?;,

Re: [OpenLayers-Users] Colons in layer names

2009-05-03 Thread Arnd Wippermann
Hi, The colons should be ok, but the server wants transparent = TRUE. Try with transparent:'TRUE' in the layer params or afterwards fsroads.mergeNewParams({ transparent: TRUE }); Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im

Re: [OpenLayers-Users] Problem with controls on map (SelectFeature, Drawfeature) - OpenLayers, pgRouting

2009-05-03 Thread paweluz
Can anyone please help me... I still can't figure it out. Please any idea? Anything I would really appreciate... Regards, Paul paweluz wrote: Hi! First sorry for my poor english :). I am having some problem with the OpenLayers I guess. My application looks like this:

Re: [OpenLayers-Users] Problem with controls on map (SelectFeature, Drawfeature) - OpenLayers, pgRouting

2009-05-03 Thread paweluz
I managed with this!! It is working now! I changed the layers included in the map in init function. I had: map.addLayers([gmap,layer1,layer2,layer3,start,stop,result,edge_results]) I changed it to map.addLayers([gmap,layer1,layer2,layer3]) I removed my routing layers. Then in function

[OpenLayers-Users] KML -Vector layer question

2009-05-03 Thread Nicholas Efremov-Kendall
Hi, I'm experimenting with KML files, and I've run into something a little strange. When using the ArcGIS toKML toolbox, and unzipping the KML file, it retains the points/features in the layer, but doesn't display them (i.e. their styling is lost). This happens in both Openlayers in Google Earth

Re: [OpenLayers-Users] KML -Vector layer question

2009-05-03 Thread Andrew Wilson
From what I remember the ArcGIS Layer to KML tool renders a PNG image for each type of point symbology and those images are put somewhere in the directory that gets zipped up to become the .kmz file. So the .kmz file is a zipped directory that contains the KML file along with the symbology images.

Re: [OpenLayers-Users] Get point on line?

2009-05-03 Thread shane_china
Bill Thoen, Thank you! I'll try to complete the algorithm in javascript by myself reference the link you given me. And also thank paweluz. Your method is my second choise. If I can't finish the algorithm in javascript, I'll do it with the help of postgis db but also with another ajax request to

[OpenLayers-Users] LonLat capture from click problem with IE zoom

2009-05-03 Thread Tara Athan
Sometime ago, about a year I think, I built an OpenLayers page to capture a mouse click as lon-lat and pass it to a form. I could swear that I tested it in IE as well as Firefox, although Firefox is what I normally use. I was just looking at the site in these two browsers and it is still