Giter Site home page Giter Site logo

meramap's People

Contributors

jones139 avatar parveenarora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meramap's Issues

Newmap: Lack of messages echoed to console

The postinst script sends so much of its output to logfiles that it can appear to hang while running. Adding some messages to give the user confidence that it is still working would be useful.

Newmap: Apache installed using apt-get

Apache is installed using apt-get, rather than specifying it as a dependency in the debian package. This means that the newmap version of postinst will not work within a debian package.

Log files are populated on clean install

Installation of meramap.deb installs log files in newmap/logfiles directory. This directory should be empty on a clean install or the user could be confused when trying to debug problems.

Newmap: osm2pgsql.sh fails

osm2pgsql fails when postinst run as root (as it will in a debian package), because root is not a postgresql user. Need to specify the postgresql username on the command line to fix this.
Just adding a -U parameter does not seem to work - might need to set and use a password too?

Remote JS-Files

Hi,

the index.html from var/www/map/ uses remote JS-Files (like http://www.openlayers.org/api/OpenLayers.js).

I use my own OSM-Server to be independent from others.

In my opinion we should place a daily cronjob on the server, which updates the local js-files.

If you agree, I will implement/commit this.

Cheers,
Timo

Newmap: Database configuration fails

When postinst is executed as root (as it will when incorporated into debian package, the postgresql configuration fails.
Postinst needs modifying to execute postgresql configuration as user postgres (postgresql super user).
Also needs write permission on logfiles directory for postgres user, otherwise it will fail.

Newmap: mapnik style file osm.xml not found

Extract from meramap.log

Setting up database and user...
Done!
./generate_tiles.sh: line 10: logfiles/tiles.log: No such file or directory
./generate_tiles.sh: line 11: /home/graham/bin/mapnik/osm.xml: No such file or d
irectory
./generate_tiles.sh: line 13: logfiles/tiles.log: No such file or directory
render_tiles( (75.724000000000004, 30.73, 76.046999999999997, 30.969999999999999
) /home/graham/bin/mapnik/osm.xml /home/graham/bin/mapnik/tiles/ 0 0 World )
Traceback (most recent call last):
File "./z0_generate_tiles.py", line 209, in
render_tiles(bbox, mapfile, tile_dir, 0, 0, "World")
File "./z0_generate_tiles.py", line 130, in render_tiles
renderer = RenderThread(tile_dir, mapfile, queue, printLock, maxZoom)
File "./z0_generate_tiles.py", line 59, in init
mapnik.load_map(self.m, mapfile, True)
RuntimeError: Could not load map file '/home/graham/bin/mapnik/osm.xml': File do
es not exist

Localhost in JS-Scripts

Hi,

I would wish me a script, which replaces localhost with an entered name in the install progress. For example
index.html: newLayer = new OpenLayers.Layer.OSM("New Layer","http://localhost/OSMAP/${z}/${x}/${y}.png"
(at the moment you are not able to view the map from remote, because the remote server have not the OSM installed).

In this step I would implement an apache-config with a vhost with the entered name for /var/www/map, too.

If you agree, I will implement this and commit it.

Kind regards,
Timo

Cheers,
Timo

Apache dependency specified incorrectly

The apache dependency is addressed in postinst by using 'apt-get install'. This will not work when incorporated into a debian package, so it needs modifying to use a debian dependency instead (like the rest of the dependencies).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.