Comments (13)
Please do not ask questions about the old legacy code in this repository.
from osml10n.
i want to change maps label to english ,i have a localized osm maps using kosmitk (https://github.com/gravitystorm/openstreetmap-carto/blob/master/INSTALL.md) now i want to change the maps label to english
please check my map below and tell me how can i change the map labels to english???
from osml10n.
Using the l10n code at this repository along with the a slighty modified style available at https://github.com/giggls/openstreetmap-carto-de/blob/master/INSTALL-de.md will help you to achieve this goal.
Use upstream+l10n branch if you do not want the visual changes from German Style.
However I am still confused why you even tried to install my legacy code from https://github.com/giggls/mapnik-german-l10n
from osml10n.
Huh? What you are trying to do is absolutely insane.
make deb
Will generate a debian package which you have to install first!
E.g. like this:
dpkg -i osml10n_1.0_all.deb
The install paths are not wrong.
What's wrong here is the way you are trying to "fix" this.
from osml10n.
Could it be possible that what happens here is exactly what osm2pgsql tells you?
Either make sure that openstreetmap-carto-hstore-only-l10n.lua is located in the path you are calling osm2pgsql at or specify an absolute or relative path to the file.
Why do people never try to understand error messages?
BTW. Are you aware that calling osm2pgsql this way (in non slim mode) will need a lot of RAM?
Regarding your second "Issue": Did I even talk about a PostgreSQL extension here? If so it would be a bug on my side as there is no such thing anymore.
P.S.: I updated INSTALL.md regarding the required version of osm2pgsql
from osml10n.
Thanks for your response !!!
my question was about osml10n (Error loading lua config) and i also give the accurate path like this:
Desktop/osml10n-master$ osm2pgsql -G -O flex -d osm -S openstreetmap-carto-hstore-only-l10n.lua ../openstreetmap-carto-de/data/gcc-states-latest.osm.pbf
but the error was about lua module please check the error message below
ERROR message (Osm2pgsql failed due to ERROR: Error loading lua config: openstreetmap-carto-hstore-only-l10n.lua:11: module 'osml10n' not found)....
And one other question i want to add a new extension which is: CREATE EXTENSION osml10n CASCADE; in postgress, but the error is :
ERROR( could not open extension control file "/usr/share/postgresql/12/extension/osml1on.control": No such file or directory ) i had read the install.md from (https://github.com/giggls/mapnik-german-l10n/blob/master/INSTALL.md) tell me how can this extension will be installed in my database
kindly help....
from osml10n.
I have been talking about the path of the lua config file not about your planet dump.
Regarding your second Question: Why do you even think that you will need a PostgreSQL Extension called osml10n?
from osml10n.
my 2nd question was about installtion of https://github.com/giggls/mapnik-german-l10n/blob/master/INSTALL.md project because it need the extension loaded ..
from osml10n.
To hopefully clarify your confusion:
You are referring to the installation instructions of the old legacy code. Why?
This will not help you with installing the new code from this repository.
The instructions for installing the code from this repository are at https://github.com/giggls/osml10n/blob/master/INSTALL.md
If you want to install the old legacy code instead of this one for whatever reason do not open an issue here.
from osml10n.
Hey @giggls , Thanks for the effort creating & supporting this.
As stated by @toqeer786 , we've followed the guide here: https://github.com/giggls/osml10n/blob/master/INSTALL.md
And I can successfully run the geo-transcript-srv.py, and make test
returns:
87 tests passed, 0 tests failed.
However I'm still getting the following error:
ERROR: Error loading lua config: /usr/share/osml10n/openstreetmap-carto-hstore-only-l10n.lua:11: module 'osml10n' not found
After searching for one of the missing files stated here:
find / -name init.lua
I've found that it hasn't created the luad module in the correct location,
rather installing it at /home/USERNAME/osml10n/debian/osml10n/usr/share/lua/5.3/osml10n/
Obviously I've cloned the osml10n repo in the /home/USERNAME/
After copying the module files like so:
cp -r /home/USERNAME/osml10n/debian/osml10n/usr/share/lua/5.3/osml10n/ /usr/share/lua/5.3/
I was able to start processing 🥇
The issue was apparantly calling make deb
inside /home/USERNAME/osml10n/ caused all sorts of wronged paths, attaching screenshot:
p.s. I've manually fixed the paths so I can run the transcript service and everything else and am now processing.
I'm also trying to get english+local tags displaying on the tiles.
Something else to note, I'm running Overv/openstreetmap-tile-server docker image, and the planet in there is imported in the "gis" database
I've now created a "osm" database with appropriate extensions, and am running the osm2pgsql with openstreetmap-carto-hstore-only-l10n.lua against OSM, hoping that this is the right way. Getting very late here, will get back on this asap
from osml10n.
Trying to reproduce this problem I found that you ran the transcription daemon manually.
This way make test will succeed despite the fact that you did not actually install the Debian packages.
I wonder if people do actually understand what they are doing.
INSTALL.md is not supposed to be a cooking recipe but a rough explanation about how to get things to work.
from osml10n.
Honestly, I don't understand what is going on here, nor am a developer. Just trying my best to get EN+local names displaying on my map. Spent couple of days going trough everything I can find related. Got to here and by the README.md, I thought what this does is translate the labels ?!
Anyway sorry for wasting your time, the same questioned is being asked everywhere related to renderer/mapnik and no definite answer.
from osml10n.
The sole purpose of this code here is getting a database which contains latin labels which can be used for rendering. So yes, using this code is part of your answer.
I know that installing this code is not that easy but your statement that there is "no definite answer" is simply wrong.
Sorry to say, but without some basic GNU/Linux knowledge e.g. how to install packages you won't get far. This said, it is no rocket science to install this code either.
P.s.: I am happy to support real issues with this code and the installation instructions.
from osml10n.
Related Issues (20)
- run at ubuntu return error HOT 2
- missing debhelper HOT 3
- Server cannot utilize tltk library HOT 12
- mml file HOT 1
- Ubuntu 22.04 Luarocks command in INSTALL.md HOT 5
- Some tests fail: 85 tests passed, 2 tests failed HOT 3
- make test doesn't work HOT 5
- Error when running make test HOT 3
- transcription-daemon does not auto-start after debian packages are installed. HOT 4
- lake of osml10n.control HOT 1
- Debian 12 Bookworm Support? HOT 14
- add osml10n as extention to postgreSQL HOT 2
- make deb error HOT 1
- free(): invalid size Aborted Core dumped HOT 5
- Unable to get any output HOT 6
- Add GitHub description HOT 3
- Error when make tests is used HOT 1
- Add full Makefile HOT 9
- Possibility to run without a daemon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osml10n.