How to start learning MAP (or spatial?) - dictionary

I'm newbie in map (or spatial data?) technology.
For starting point, I want to know the terms, what it is, how it work. I also want to kno how tostore map data(lat, long, etc).
Maybe, some simple (for newbie) tutorial and down to earth book could help, as I don't know anything about it.
Another suggestion and tips/trick when working with maps also welcome.

I think the explanations on kowoma.de will help you. I have used it in a lecture called "Mobile Computing" and it explains the basics very well.
Part of it is available in English, too (especially the introduction to GPS and lat/longitude). Other important topics like map projections and reference systems are not (yet?) translated (see German version here).

I have an example showing how to calculate distance using Spatial Data methods in SQL Server 2008. This is just a very basic tutorial, though. But is does take you step-by-step through adding a geography type to a table, updating it with latitude / longitude coordinates, where to obtain some data that translates zip codes to latitude / longitude and the SQL UPDATE statements for getting this into your database, and the SQL query for calculating distance.
The scenario it illustrates is that you want to add a "find nearest store near you" type feature to your client's web site, though it only takes you to the point of creating a SQL query for this purpose.
This tutorial is nothing fancy, though, just a very brief "how to" guide. Also, I wrote it before SQL 2012 came out, using SQL Server 2008 in the examples, so it may need some revision (which I plan to do when I get some more free time). It is on my web site here:
http://www.scottreis.com/Spatial-Data-What-Is-It.aspx

Related

Creating a map book for feature elements

I have a point feature class that is survey monuments. I'd like to create a page for each survey monument that would have a a overview map showing where the monument is and a report on the attributes. Ideally I'd like to be able to insert photos that are attached to the feature.
I'm trying to determine what software would be best to do this, and any tricks I need to know. I have access to the following software:
ArcMap
ArcGIS Pro
FME
Geocortex
It seems like this should be a common type of thing to want to do, but I can't seem to figure out how to do it in any software other than using the Geocortex reporting tool. However, these aren't currently in our Geocortex site and it is quite cumbersome to get everything to a point where I can create reports there.
I figured this out. Not sure why I missed it initially. In ArcGIS Pro they are called Map Series and in ArcMap they are data driven maps.
Searching on those will give tonnes of information on how to do them.

Creating an indoor map

I wonder if someone here can help here ,in my web application I'm trying to create map section:
In my map section the objective is to show an indoor search like in the attached picture from Yahoo Maps does someone know how they Created the tenants names and level of the floor on the maps it self?
http://s30.postimg.org/4dh7mlpfl/Yahoo_Maps.png
I think the best answer for this one is going to depend on which mapping framework you were interested in using.
If you're using Yahoo maps: Yahoo got that indoor map data from Nokia's here platform. As far as I know, they don't offer an editor for the indoor mapping data. The major mapping platforms often have some self-service mechanism to add or correct mapping data. If you were set on having this available and you were using Yahoo's maps, you might want to try to contact someone at Nokia's "here" and see how you might be able to get that to happen.
With that being said, you can do something like that with Google Maps as well. They have information and a way to add the interior layout of a building here. I haven't used it...I just know that it exists, so I can't speak to it in much detail.
There is also some support for this kind of thing in OpenStreetMap. I would post a link to an example of it, but stackoverflow says I can't post more than 2 links unless I have more than 10 reputation. (Sorry...I'm still relatively new to posting on here.)

MapBox sqlite layer from OSM

New to MapBox.
I have read the tuto on how to create a layer from OSM which relies on a PostGIS connection. Tried it. So far, so good.
Nonetheless, given the very limited magnitude of the project i'm working on (single user...), i'd really rather avoid having to have a pgsql instance running just for that. sqlite comes across as an option of course!
Can someone help with the following questions:
Any reason why sqlite would not do the job ? The data set i'm pulling from OSM is about 30MB
Any recommandable and tried script to convert OSM .xml or .pbf to .sqlite ? There is a bunch of osm2sqlite out there on github and where-else, but can't see any reference to them that let me think they will still be maintained in a foreseeable future...
How straightforward will it be to link such sqlite output to a tile mill layer ? Clearly, I have no idea on the underlying data model and subsequent sql statement to bring it across...
Many thanks
Laurent
Use mbtiles (this is basically sqlite if you didn't know).
Mbtiles will work perfectly for you. In fact Mapbox uses it for their maps
As you've seen from that link, tilemill can export your project to mbtiles . Personally I would import to postgres using imposm3, it's fairly fast and doesn't use up ask your memory. After importing I'd style the map with tilemill then use it to generate mbtiles.
Seems like you're already comfortable with the first 2 steps of this. The docs cover the exporting step
Never used mbtiles but I can't see why you would have difficulty with them.
Nb In the future you'll be better off asking questions these at gis.stackexchange.com/

Storing and downloading Data in iOS Applications

I am a bit new to iOS Development and I was wondering if someone could point me in the right direction regarding an application I am working on.
I am currently working on an application that will be displaying product lists and categories. The list is updated on a weekly basis (one every week).
I am now trying to decide two things:
1- What's the best method of storing this data, I am looking for a way that will allow me to replace the data in the application once every week.
2- Is it going to be beneficial to use CoreData? Note that I Only have Product Category, Product and Product Information entities.
Appreciate your support.
I would use Core Data. Because I know Core Data and am used to work with it. But this is clearly very much like using a chainsaw to cut a slice of bread.
As I understand, you're not familiar with Core Data. Maybe it's not the right tool for the job considering the learning curve.
In your case I would simply use JSON files as provided by the server.
That said, if your looking in Core Data anyway, any store will do, either atomic, XML or SQLite. The first two will load the whole data set in memory and queries will be done in memory as well. SQLite provides the benefits usually associated with databases, with a slightly increased complexity. A chainsaw.
I would use Core Data. If you haven't worked with Core Data before, learn it. It's a great framework.

Proximity search by city, or state, or ZIP

For some reason we still don't have this feature yet. We can make it work using zip codes, but how about City or State? The Views set of Modules are great and I would love to see Proximity Search options expanded. There are requests for this in the Drupal forums: http://drupal.org/node/489904 but that thread has been stagnant for months. The "fix" is inconsistent and no longer works on my end, using Views and Location series modules. Does anyone know a workaround to this issue? The custom module shown in Drupal forum worked at some point with limitations, but now its no longer displaying any search results. Trying to hit this from any angle -- have the US zipcodes in MySQL database for the former configuration; have Apache SOLR ready to go; even got Spatial SOLR ready to go if that ever picks up. Any help much appreciated.
I think one of the problems is city names are not necessarily unique. (zips are)
You could have the same city in different states.
For states, it's even less reliable because their area can vary a great deal and proximity search around a state would be very unreliable for states which don't have circular shapes.
So the module should have an extra step showing "did you mean.." results in case there are more returned (if possible).
I don't believe there is a workaround, it will require some coding to implement this in views.
I would start in location.views.inc around line #493, adapting the logic for the current zipcode handler. Look for the location_latlon_rough function in location.inc.
May be you have to try geoname module im not sure you should try
http://geonames.edesign.no/node/13
Give a try
Thanks,
Gobi :)

Resources