I have installed a nominatim server(using http://wiki.openstreetmap.org/wiki/Nominatim/Installation) for reverse geocoding and now I want to edit some data into it(add/edit new addresses), how I can do that? What tools I need for that?
Thanks for any help.
So the question is, how your workflow should be:
1. Using OSM itself:
You can use OSM editing and the main DB to add your new data and setup an update of your nominatim instance: http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Updates
2. Using OSM offline:
You might create OSM files using OSM editors and submit them to your instance instead of the full planet dumps.
3. Manual patching DB:
Sadly I don't find any details about the DB schema, but it makes use of osm2pgsql and you will get an idea if you view at the source: https://github.com/twain47/Nominatim/tree/master/sql
Related
Hi there fellow coders,
Maybe one of you could bridge the gap I seem to be having.
I'm new to Mongo and tried to set up a database. Then created a Realm App.
According to the documentation (https://docs.mongodb.com/realm/web/mongodb/), I need to link a data source(https://docs.mongodb.com/realm/mongodb/link-a-data-source/).
Having done that, the doco seems to indicate I should be able to use the line:
const mongo = app.services.mongodb("<atlas service name>");
However, I get an error saying "Cannot read property 'mongodb' of undefined". Obviously, it's because there is no services against app.
I tried looking this up online, but found no answers. Hoping someone experienced could guide me as to what is missing or what I'm clearly not seeing.
TIA!
Are you using MongoDB 4.4?
Are you using MongoDB Atlas? Realm sync does not work for on-premises MongoDB.
If you're using all that, I would go to https://realm.mongodb.com and click "Create a New App" and then the screen that shows up, you pick the cluster to connect with and that's the service. (or choose the 'we'll create one for you' option).
Services are not included in realm-web code if it’s installed via npm
Services and functions are now available on User instance
const mongo = user.mongoClient("<atlas service name>");
const db = mongo.db("<my-database-name>");
const collection = db.collection("<my-collection-name>");'
The default name is mongodb-atlas:
const mongo = app.services.mongodb("mongodb-atlas");
This question is about Dataiku DSS .
I'm having trouble opening a mongoDB collection and connecting it as a dataset in Dataiku.
There's an option of using Python script but I'm not sure how to do it.
This is a very late answer but the following page explains how to connect to mongoDB in Dataiku DSS:
https://www.dataiku.com/learn/guide/connecting/dss-and-mongodb.html
You have to be administrator of the instance.
The main steps are:
Go to Administration->Connections
New connection->MongoDB
Fill the Host, Database name, User, Password fields
Grant the appropriate rights (probably write access, and specific groups).
Click the Test button to make sure everything is ok, then save it.
I was trying to use dataclips but when I create a new one, no databases appear in the "Select database" dropdown... (I do have a Heroku/Postgres database for one of my apps)
I had the same error, created new dedicated database and the first one showed up (and after a while the new one too, which I deleted)
I've stopped using Dataclips for this. Instead, give QueryClips a shot. It lets you add your own (better-named) databases and saves your google sheet exports.
I have been studying ATG for about 4 months and now I am facing a problem: even going through the documentation I can't find any document that can clearly explain how I can create a new empty store.
I know that I need to have my database users and schemas, the application server scripts (I'm using weblogic) and the module in Eclipse. But I can't find anywhere how to create a new store, implement it from the beginning and see the result in the browser.
There is no such document for ATG. You either need to start from the Commerce Reference Store and customise that (in versions prior to ATG 11 would would strongly suggest not to use the CRS as your basis for a new site) or you can look at what the CRS executes for the runAssembler command, remove the CRS specific modules from that and then create, and include your own modules for the Storefront and your source code.
There is no empty store you can install and run. You have to build one. Or you can install CRS, which is not empty, but it is relatively straightforward to install and can be customized.
The documentation to follow:
http://docs.oracle.com/cd/E52191_02/CRS.11-1/ATGCRSInstall/ATGCRSInstall.pdf
https://www.sparkred.com/blog/installing-oracle-commerce-11-1-with-commerce-reference-store/
*
I've an application using MVC and Code First for persistence.
Everything works fine in my development, but when I'm uploading to server, it doesnt work.
In any place i try to create a database, but it keeps me returning the following error: CREATE DATABASE permission denied in database 'master'.
The only thing that i do is override the OnModelCreating method just to map my app.
Anyone has this error?
Thanks
For a tutorial series that shows how to publish your Code First database and prevent Code First from trying to re-create the database in production, see
http://www.asp.net/mvc/tutorials/deployment-to-a-hosting-provider
The third tutorial in the series shows how to set up the Web.config file. The second shows how to deploy if you are using SQL Server Compact, the tenth shows how to deploy to full SQL Server.
You'll need to publish your database out to your hosting provider. Visual Studio has an easy way of doing this. In the server explorer tab, you can navigate to your database, right click and choose publish to provider. By doing this, you will not only export the scheme of your database, but you can also export out all data, stored procs, views etc.
You will need to adjust your code so that you are no longer trying to create a database on code run. Typically this approach is used for development, and you are no longer in development if you're moving to a hosting company. The changes may be in your global.asax, the dbcontext of your solution and any other place where you modified it to create the scheme for the database.
Hope this helps you some, and good luck on your project.