You are not logged in.
Hello! I got the Changeset information as shown below:
<changeset id="7892823" created_at="2011-04-17T22:05:22Z" closed_at="2011-04-17T22:05:28Z" open="false" min_lat="52.5469902" max_lat="52.5481293" min_lon="-1.9344328" max_lon="-1.9306205" user="Miked29" uid="105474">
Does it mean that a user logged in and begin to edit an area, and then end edit the area? Thanks a lot!
Hi eaviles83, maybe you can download it here: http://downloads.cloudmade.com/americas … uerto_rico. There are original OSM file, converted shape files and even POIs. Good luck.
@Marqqs: thank you for your help.
@Tordanik: that's true, thanks.
Thank you Marqqs, yes, there are changeset in full OSM planet. Thanks again.
I was scanning the OSM full file, and I found some nodes information as shown below:
<node id="5993208" version="1" timestamp="2006-05-26T03:33:05Z" changeset="28571" visible="false" lat="31.4425140" lon="-88.2065500"/>
<node id="5993209" version="1" timestamp="2006-05-26T03:33:05Z" changeset="28571" visible="false" lat="31.4428800" lon="-88.2066170"/>
In this case, doe it mean that I can user changeset ID to track back to get the corresponding user ID? Thanks!
I mean only the IDs, no other information. Because at this web page: http://wiki.openstreetmap.org/wiki/Stats, there is the stat of number of users. Any suggestion?
Many thanks in advance.
Thank you greencaps, exactly, the history is like that: http://www.openstreetmap.org/browse/nod … 74/history
This webpage says that the full planet includes history: http://wiki.openstreetmap.org/wiki/Planet.osm/full, just as what Andreas said. How do you know it does not include history?
Thank you Andreas! Your post is of great help! I will read through the document and contact them. Thanks a lot!
Thank you, Marqqs! Yes, you are right. I am trying find out the history of every object in OSM data, including node, way and relation. For example, when a node was created by who, and then when it is edited by who, and so on.
Thanks for your suggestion. Yes, the full planet data is huge! But I maybe can give it a try.
Here is the statistics of OSM data: http://wiki.openstreetmap.org/wiki/Stats
Any suggestion on how it has been done? Thank you!
Actually, I was thinking to use the ID of feature in OSM data. That is to say, I download the OSM data at different date time, and then scan them one by one to detect and compare the changes of ID. It could be extremely time-consuming because of the intensive OSM data.
Once a feature was created, it could be edited many times. But, in OSM data, there is only one record for one feature, i.e. node, way and relation. Any clues to solve this problem? Many thanks in advance!
Xintao
@Ldp: thank you for your kind help. I agree with you. It is hard to find the land-uses based on tags.
When we talk about spatial data quality, positional and attribute accuracy, completeness and consistency are three key concepts. Now OSM data has covered most of the world, which means the completeness is good. And when OSM data is used to analyze urban morphology, the accuracy is also good enough. However, the data consistency is not so good because the lack of standard when collecting OSM data. As Ldp said, it's hard for users to extract the corresponding information. I think it worth thinking for OSM project.
Hello,
Relations in OSM data could be Multipolygon, which represent different kind of land-uses such as lakes, rivers, forest and so on. The question is: there are not tags inside relations which can be used to identify land-uses. But, obviously, the OSM tiles can tell different land-uses. How do they do it?
Any of your reply is highly appreciated.
Xintao
Hello,
Relations in OSM data could be Multipolygon, which represent different kind of land-uses such as lakes, rivers, forest and so on. The question is: there are not tags inside relations which can be used to identify land-uses. But, obviously, the OSM tiles can tell different land-uses. How do they do it?
Any of your reply is highly appreciated.
Xintao
Hello!
After I download OSM data from CloudMade.com, I use the C# code here (http://wiki.openstreetmap.org/wiki/Mercator#C.23) to transform the longitude and latitude into X and Y coordinates. Then I convert them into ArcGIS shapefile, and use the tool to calculate the area and length. To my big surprise, the results are not correct. For example, the actual area of Sweden is only 0.45 million square kilometers, while the result is summed to 1.17 million square kilometers.
Am I doing something wrong? Any of your response and comment are highly appreciated.
Thanks.
Xintao
If I want to show Google street view in Popup window, is it possible to do it by using openlayers on OSM?
Thanks.
Thank Alex McKee. If I just want to host the tiles of one country, e.g. Sweden, can I do that? I have a server with 42G memory and 2T harddisk. I can download the tiles from cloudmade.com, but don't know how to host the tiles. Thanks again.
Hello!
If I want to host all the OSM tiles on my own server, are there any solutions that I can follow as a guide? Thanks!
Hi, sorry, I've got it: marker.setUrl().
Hello!
After a marker has been created, can I change the Icon of the marker? For example, I can use marker.moveTo() to move the marker.
Thanks a lot!
Xintao
Hello!
I created a vector feature on the map. it appears correctly. The code is showing below:
var style={ externalGraphic: "airplane.gif", graphicWidth: 12, graphicHeight: 14, fillOpacity: 50 };
style.rotation = Math.floor(Math.random() * 360);
var feature=new OpenLayers.Feature.Vector( new OpenLayers.Geometry.Point(x, y), {angle: planeangle, x_extra: 0, y_extra: 0},style);
vectorLayer.addFeatures([feature]); //it works fine and appears on the map correctly until here
But then I try to move it to a new place, an error occured.
var planeangle = feature.attributes.angle;
if (planeangle >= 180) {
var a = 450-planeangle;
} else {
var a = 90 - planeangle;
}
var newx = feature.geometry.x - Math.cos(a*Math.PI/180)/10 + feature.attributes.x_extra;
var newy = feature.geometry.y - Math.sin(a*Math.PI/180)/10 + feature.attributes.y_extra;
var newPoint = new OpenLayers.LonLat(newx, newy);
feature.attributes.angle += Math.floor(Math.random()*20);
if(feature.attributes.angle>360){feature.attributes.angle -= 360;}
feature.move(newPoint);
And the error in the IE says: "Message: Arg: Fraction out of range (0 to 1 allowed)"
I have been stucked here for a whole day. I appreciate any of you comments.
Thanks a million.
Hello!
I have created some markers by using the following code:
var markers = new OpenLayers.Layer.Markers("mymakers");
for(i=0;i<10;i++) {
var myLonLat = getMyLonLat(i);
var marker = new OpenLayers.Marker(myLonLat, markerIcon.clone());
markers.addMarker(marker );
}
The 10 markers appear on the map correctly. Then how can I get the 10 markers? I have looked through the OpenLayers.Layer.Markers properties, but did not find any method to get the makers added to the layer. I appreciate any of your comments.
Best regards!
Hi, any suggestion for how to extract POIs from OSM data? Thanks a lot.
Xintao
Hi, Alex Mckee, thanks for your reply.
Do you mean I have to check the appropriate key/value pairs of all the nodes in my interested area to get the different kinds of POI? Here I find a place for downloading http://downloads.cloudmade.com/europe/s … readcrumbs . Did they do that in the same way?
Thanks