Processing 1.0 – Processing Discourse – Aligning GPS points on an svg map

. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online. This is relatively basic so if there is another thread I can be pointed to then all the better. I am just wondering how I would create a map, say of the U.S. on which I could align points to correspond with cities, etc, based most likely on GPS. I have the visualizing data book and am working through it. The map samples in the book are great but don't show how I would align a graphic representation of a map and points pulled from GPS. Any help is appreciated. The short of it, if this gets to Ben Fry, is how did you create the data set for the center of each state that you overlayed over the U.S. map? GPS coordinates rely on WGS 84 geodetic system, so you'll need a background map in the same coordinate system (or convert it). The biggest problem is to find georeferenced images or svgs (if you find one please post here). You don't need images in wgs84 cause you can also convert your coords in the coordinate system of your images, like the mercator projection that googlemaps use. I think you hit it on the head, I don't think I'll be able to find the geo-referenced svgs. I'm going to take a look at exporting maps from GIS software with a defined long-lat width that I can map my points to. By the way here are the two projects that got me going along this route. (though in looking at the second example I realize that like the zip code example in the visualizing data book, the U.S. shape is just defined by the data points, not by any outline.) I've started something, which may not fit your needs and is nothing compared to GeoTools or other Java-based GIS libraries, but this small sketch provides a background map (in raster format and Plate Carree projection) you can easily plot points onto. The short of it, if this gets to Ben Fry, is how did you create the data set for the center of each state that you overlayed over the U.S. map? The code to find the center of each state can be found on page 52 of the Visualizing Data book. It can of course be applied to other images. right, so the reason it doesn't try to find the centers of the states programmatically is because there isn't a good way to do that. take the max and min of california's coordinates and you get.. nevada! with such a small data set as the 50 states, easier just to point and click once--especially when alaska and hawaii must be treated as exceptions. for georeferenced svgs, one map i've used in the past are some of the free world maps from the 'cia world factbook'. these are in pdf format but can be converted to svg using adobe illustrator or maybe even inkscape by now (i thought someone was working on inkscape pdf import.) to deal with the alternate map projection (the factbook map is prolly mercator or something like that), use the same method as converting the projection found in chapter 6: figure out what the projection is, then check mathworld for the equations, then convert that to code. you can use the albers projection in chapter 6 as a guide on how to convert the equations to code. I'm working on a project that draws on a world map based on GPS coordinates. I had to find a perfectly grid-based world map to do it, but I was able to convert that into a Photoshop Path (vector shape) that I could resize and stylize how I wanted. Unfortunately I have no country or state/province boundaries. If you want it, msg me here. It's a pretty basic way of doing it, the map shows from -180,90 to 180-90 so it's just a matter of converting that to a percentage and using that percentage to draw onto the map image based on the map's width (0 degrees longitude = 50%, 50% of 1280px wide map is 640px) I don't suppose anyone has some source for a sketch like the one on the blprnt blog? The one that used twitter to track people's flight path? ive got the sourche of gps mapping to a pixelmap onscreen. Have to leave in a sec. but i can post if yoou need it. Do you ? Yes, I'd like to see that source very much, because I want to put a map of Europe in front of a camara and try to recognize it's coordinates in GPS. Source.


Яндекс.Метрика Рейтинг@Mail.ru Free Web Counter
page counter
Last Modified: February 26, 2014 @ 12:00 am