I am having issues getting Perth, Western Australia traffic incidents.
Perth GEO location is -31.973894615810956~115.85279846191405
Now according to Bing I need to create a box. But how do I create a box when I only have the above details?
In their example they have
http://dev.virtualearth.net/REST/v1/Traffic/Incidents/37,-105,45,-94?key=YourBingMapsKey
However they don't show what this area is covering, or how they made it.
its a bbox from Colorado to Minnesota (I just put it on the map)
for Perth , you can select Left Bottom and Right Top coordinates and add it to the request
http://dev.virtualearth.net/REST/v1/Traffic/Incidents/-32.24261071903905,115.73831563321075,31.64070863452504,116.03151324837162?key=YourBingMapsKey
Related
Im drawing a simple map in spotfire using US cities as geo location. The values I want to show on the map is the location of 'specific gas stations' by the geo code.
For larger cities there are many but im only able to get one 'shape'. I can work on the coloring or size. But im interested to get all 5 dots next to each other or a call-out highlighting there are five..?
Is there a way to show all values, or does spotfire need to combine them?
I know I can get more details with lat/long but that is not an option.
are your shapes literally being combined? that shouldn't happen unless you are doing a "Marker by: City". double check this setting.
if they aren't being literally combined into one point on the map, but instead they are sitting on top of each other, you could adjust the jitter settings on your Marker Layer (check the Appearance page in the Properties dialog) to spread them out a little bit.
if that doesn't suit your needs, and the former case is true, please update your question with some screencaps of your map chart's configuration and I'll see if I can provide a better answer :)
I would like to get 4 Lat & Long values of any country, for Suppose let me take India, for India I need east, west, North & south Coordinates, So as i can calculate those 4 points to get a centre point to zoom
or
Please suggest me any idea, How to zoom country wise, if name given I need to that particular country
Find the country in OpenStreetMap using the search facility in the top-left, then press 'Export'. Now press 'Manually select a different area', then drag out a rectangle to enclose the country. You will see the four extremes of latitude and longitude displayed in the top-left of the screen.
I've got a website vith a view of a (long) street, with markers appearing all along it that have different information on them about that location.
What I'm trying to do is create a button so when you press it, it starts at the bottom of the street and slowly moves the map along the street, opening each pop-up as you go then closing it when the next one opens.
The markers are all generated using a php loop linked to a database of information and I'm using InfoBubble to create the pop-ups.
You can use the google function bounds.extend and fitBounds: Google Map API v3 — set bounds and center and add some of your markers to the array and wait a bit and add new markers to the array and rinse and repeat. You can use a javascript timer to wait. Or you can save your path and use fitbounds only on that marker.
Edit: When you have the next bounds with getBounds you can calculate delta x and delta y, e.g. x2-x1 and y2-y1 from 2 points of the start bound and the target bound.
On my website I allow users to search for things such as 'Columbus Ohio', 'Miami fl', etc which I then turn into coordinates using Yahoo Placemaker and then do a radius search using Thinking Sphinx. This works great for small areas but when the user searches for something like "Ohio" or something similar a lot of results are being excluded at it's getting the coordinates for the center of Ohio and doing a radius search from there.
It it possible to use Thinking Sphinx in combination w/ a Bounding box of coordinates and a radius.
For example search everywhere inside of Ohio's geographic bounding box as well as 50 miles around the edge of that box?
I'm afraid Sphinx doesn't have that depth of functionality - the geo searching is only through a single point and a radius around that.
i'm trying to geocode values and map them to a satellite image of a city (new york city to be precise). i've successfully done this before using a geospatial image of the world, and then mapped/scaled longitude and latitude values from the max lat/lng range (-90,90 & -180,180) to the max width and hight of the image (0,width & 0,height) which worked perfectly. i'm a bit confused how to do this to just a map of a city.
currently, i have a hi-res satellite image of new york city, and have positioned it so that it perfectly aligns with the map of new york city on Google Maps (i'm using their API to geocode my locations). i've attempted to get the top/bottom latitude values and left/right longitude values of the satellite image i'm using, and tried to scale any longitude/latitude values that needed to be mapped onto the image within this range. however, this didn't seem to work. is there another method i could use so that it would be possible to dynamically map lat/lng coordinates onto a satellite image of new york city?
this is essentially the image that i would like to map onto:
thanks.
If you know the image size and its geographic extent (lat/lon values), you can use something like:
x = imageWidth * ( pointLon - ImageExtentLeft ) / (ImageExtentRight - ImageExtentLeft);
y = imageHeight * ( 1 - ( pointLat - ImageExtentBottom) / (ImageExtentTop - mImageExtentBottom));
By the way, if you are using the Google Maps API to geocode your locations, why don't you use its functions to add markers directly to your map? (Maybe I didn't completely understand your case)
var latlng = new GLatLng(pointLat, pointLon);
map.addOverlay(new GMarker(latlng));
Hope it helps
You are engaging in a process called image registration or map rectification. There is a whole set of remote sensing dedicated to the equations for doing this.
Perhaps you can just start with this web site - it should basically do what you need
http://labs.metacarta.com/rectifier/ (dead link)
if not then maybe look at tools like QGIS or GRASS. If you have money and time you can also use ESRI ArcGIS desktop or ERDAS Imagine or IDRISI.