OpenStreetMap offline? - offline

I use OpenStreetMap on my side, but it works through their page. I wonder if it is possible to download some of the map and use the local server. So far I have found something like this:
http://openlayers.org/dev/examples/offline-storage.html
http://openlayers.org/dev/examples/offline-storage.js
But here are using the cache.

Of course this is possible, OpenStreetMap's data is free and so are most of the tools around it.
For rendering your own tiles just follow the steps described on switch2osm in the serving tiles guide. You can also import one of the extracts if you don't want to serve the whole planet. Alternatively you can use some of the other available renderers and toolchains for creating your own tiles, for example Maperitive and TileMill.
If you are interested in routing then take a look at the routing wiki page and especially at the list of various online routers and offline routers for OSM.
For geocoding there are various search engines available of which Nominatim is the most popular one at the moment.

With marble you can download regions of the selected map. Marble also has an interesting list of downloadable maps. Some OSM based: roads, cycle map and satellite as well as historical maps and other.
On linux+macOS+windows: Marble.
sudo yum install marble
or
sudo apt-get install marble
e.t.c.
"Marble is a virtual globe and world atlas — your swiss army knife for maps."
Offline mode, download maps. Browse map. Select view/data source. Routing. Search.
https://marble.kde.org/
https://marble.kde.org/features.php
Many various other applications:
https://wiki.openstreetmap.org/wiki/Software/Desktop

For use on Android I favour OSMand.It stores data in a much more efficient, routeable, searchable format than the cached tiles. With a reasonable SD card in your phone you can easily have entire continents on your phone for offline use.

Related

Is it possible to use GeoSparql with GeoJSON objects on AWS Neptune?

The documentation for AWS Neptune does not indicate that it supports the GeoSPARQL extension. Is there any way to support geospatial queries that we have stored as GeoJSON objects? Perhaps using Gremlin? We are considering Azure Cosmos as an alternative but would rsther stay in the AWS ecosphere. Thank you!
Added re: comment for GeoJSON specifics:
As a recent workaround, we have been exploring the use of Geohashing and bounding boxes to solve this in a NoSQL store . Or, the original Azure Cosmos direction. The problem with the former solution is the computational time to do so at scale, and then fetch and combine results from the graph with some type of unique ID mapping. Instead, traversing raw lat/long coordinates via GeoJSON enabled queries in the graph means that we could do everything in one pass. Ultimately it enables dramatically simpler architecture and cleaner DEVOPS.
In regards to specifics, mostly just querying items within a radius or manhattan distance of a given point. We don't currently use polygons but have been considering it for various use cases.
Can you provide more details on the types of geospatial queries that you'd want to support over the GeoJSON objects?
From the latest AWS Neptune User Guide (PDF) in the section on Blazegraph to Neptune compatibility (dated Dec 2020 at time of writing):
Geospatial search – Blazegraph supports the configuration of namespaces that enable geospatial
support. This feature is not yet available in Neptune.
Therefore, the answer appears to be 'no' if using out-the-box functionality.

Open cart website server response time is big

My open cart website is too slow so how can I solve the issue. When I open the admin side its working good and fast but when I open front-end site then its to load my site. I remove my image folder and check whats problem but again the same problem. if anyone has a solution so please tell me how to resolve it.
The simplest is to use a Cache module that would implement speed optimization features like image compression, caching, file minification and CDN
here are two top extensions:
Carbon Cache - OpenCart speed Optimization for Google page speed
Nitro pack
check for errors
You need to check if you have any issues in your Log file (system/storage/logs/error.log) and if you do, correct them. errors can cause speed drop.
flatten category structure
Also, a heavy category structure with lots of subcategories can influence your speed as well so try to keep your categories flat (3 subcategories deep max)
too many modifications are bad
Modifications like OCMOD can also create speed issues since they can implement bad code directly into the core. so watch out for those.
find a better hosting
And last but not least - your hosting provider. Check if your hosting is actually providing you with a fast server. We often suggest opting for Digital Ocean since the guys have done a good job providing high-quality servers for a reasonable price. if you want $10 when signing up with DO and feel comfortable if we also get $10, use our Digital Ocean link, or just visit their website digitalocean.com

Turn application into web application

Please excuse the noobiness of my question. I am mostly searching here for some directions and buzzwords to start digging from.
I spent some time developing an application in Python
Basically, it takes a bunch of images and creates a video out of it.
It i quite simple, and uses only a few libraries (opencv and nunmpy mostly).
I designed a small gui in gtk, but I think that it would be a good idea to offer the service over the web.
I think I could reuse some of my core and design a front end that people could access in their browser.
I only need a few data to get it running (images, an email)
The thing is my web dev skills are really close to 0, and I don't exactly know where to start from .
I don't plan on having hundreds of people a day on the platform.
People would connect, feed me with the data (link to a dropbox folder, google drive, whatever) and I would send them a message where it's finished.
If you could provide me with some names or links so that I could touch the field, I'd be really glad.
CGI is a fine option, but if you already have Python experience Django is definitely worth checking out (it falls in the category of rhooligan's #3 except it uses Python!). Django completely takes care of all of the database backend details for you, which is a benefit over simple CGI. It also provides easy-to-use pre-defined classes for handling file uploads, images, etc. It also has a great tutorial that will get you up and running. Just be careful about whether you're using version 1.3, 1.4, or the latest dev version, because some aspects of the framework have changed fairly quickly. Make sure that you're always looking at the right version of the docs.
Another handy service to keep in mind for doing something like image processing through a web app is a hosted cloud computing service provider like PiCloud. Unless you already have a private web server with lots of memory and processing power, these cloud services that charge by the ms are really cool. They also give you 1000s of cores which could allow you to do lot's of concurrent processing. They provide a nice Python API, and it has numpy and opencv pre-installed in both v2.6 and v2.7. (They use PyOpenCV, but you also have root access to install anything you want, so you can set up the "cv2" interface if that's what you're using--actually I just looked at your GitHub and it looks like you're using the old "cv" interface. You can also install any application you want on PiCloud--it doesn't have to be Python.)
You could start by looking into the Python CGI module and see if it will work for you. Then you'll need to do the following steps:
Decide on a webserver and install it, Apache is probably a good starting point.
Design the UI. Wireframe things out on paper paper. Figure out how you'd ideally want the users to go through your site and what you want on each page/view.
Your decision in #2 drives all the decisions from this point out. These days, most web applications are a combination of Web 1.0 and JSON/REST "services" (there's a couple of buzzwords for ya!). JQuery is a popular and widely used JavaScript library for developing the front end of your site. That would be another thing to look at. JQuery is completely independent from the back end and can be used with any type of back end (PHP, Ruby, Perl, .NET, etc)

How to use Bing Maps as a web service?

If i want to use Bing maps as a service in my WP7 mobile App...
I just want to send my location right now and a place where I want to go then the map draw a road between these location.
These location might be so far like two cites or so near like two streets.
If I also want to use ground selection lines to specify locations to go between, Is that possible to be done or not.
Have a look at the Bing Maps REST Services API. You get directions, etc., but since you're using WP7, you might consider using the Bing Maps SDK for WP7.

Local version of Google Maps API

Do you guys know if there is a version of the Google Maps API for C++ which works using local maps rather than having to connect to a Google server?
The application is the plotting of GPS positions in an area with no internet coverage.
Thanks in advance.
As an alternative for Google Maps, you might want to have a look at OpenStreetMap.
(See also the usage and software sections on Wikipedia)
You can download and store map tiles (png files) using the google maps static API, and then reread those once stored images without reconnecting to the server. You'll have to write the whole download and management stuff yourself (i.e. using boost::asio for download etc. - i don't know of such a library), and you probably need to acquire a Google premier license, as google strongly restricts the anonymous usage of the static api. But technically thats possible.