Giter Club home page Giter Club logo

umap's Introduction

uMap project

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. Because we think that the more OSM will be used, the more OSM will be improved. Built on top of Django and Leaflet.

umap's People

Contributors

aleksejspopovs avatar almet avatar binnette avatar brentfraser avatar cquest avatar datendelphin avatar davidbgk avatar dependabot[bot] avatar duvel avatar flammermann avatar geimist avatar gitter-badger avatar ikks avatar jridky avatar jschleic avatar jusabatier avatar jvmatl avatar k-3st3ban avatar knowname avatar ldidry avatar mstock avatar openbrian avatar pfbreton-perso avatar plepe avatar rodo avatar sabas avatar thomasg77 avatar tordans avatar ward avatar yohanboniface avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umap's Issues

404 on static files 0.3.x

Originally reported by: Igor Támara (BitBucket: ikks, GitHub: ikks)


Hi, when I try running the site of series 0.3.x The admin finds the static files ok, but static files on the root throw 404

http://localhost:8000/static/darline/src/css/core.css (404)

I followed the instructions on the main page, and I'm on changeset a36ab98 , I have a postgis database and created a licence via the admin, I added a tile layer using

http://b.tile.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9

As template, I'm unsure if it's ok, would I be able to use a mapbox one? If it's possible, what would be the way of doing it?

My local.py is:

from umap.settings.base import *   # pylint: disable=W0614,W0401

SECRET_KEY = 'my super hyper secret is safe'

DEBUG = True  # False in production
TEMPLATE_DEBUG = DEBUG

ADMINS = (
    ('You', 'your@email'),
)
MANAGERS = ADMINS

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': 'umap',
        'HOST': 'localhost',
        'USER': 'django',
        'PASSWORD': 'django',
    }
}

WSGI_APPLICATION = 'umap.wsgi.application'

COMPRESS_ENABLED = False  #  True in production
COMPRESS_OFFLINE = True

LANGUAGE_CODE = 'en'
LANGUAGES = (
    ('en', 'English'),
    ('fr', u'Francais'),
    ('it', u'Italiano'),
    ('pt', u'Portuguese'),
    ('nl', u'Dutch'),
)

AUTHENTICATION_BACKENDS = (
    # 'social_auth.backends.contrib.github.GithubBackend',
    # 'social_auth.backends.contrib.bitbucket.BitbucketBackend',
    # 'social_auth.backends.twitter.TwitterBackend',
    # 'umap.osm_backend.OSMBackend',
    'django.contrib.auth.backends.ModelBackend',
)
GITHUB_APP_ID = 'xxx'
GITHUB_API_SECRET = 'xxx'
BITBUCKET_CONSUMER_KEY = 'xxx'
BITBUCKET_CONSUMER_SECRET = 'xxx'
# We need email to associate with other Oauth providers
GITHUB_AUTH_EXTRA_ARGUMENTS = {"scope": "user:email"}
TWITTER_CONSUMER_KEY = "xxx"
TWITTER_CONSUMER_SECRET = "xxx"
OSM_CONSUMER_KEY = 'xxx'
OSM_CONSUMER_SECRET = 'xxx'
UMAP_DEMO_PK = 34  # Pk of a Map instance
LEAFLET_STORAGE_ALLOW_ANONYMOUS = True
UMAP_DEMO_SITE = False

Would I be running 0.4 series? if so, how can I do it?


Tile layer attribution missing

Originally reported by: BitBucket: simonpoole, GitHub: simonpoole


While you can manually set attribution for the map. Essentially all tile layers come with mandatory requirements for attribtuion that umap currently ignores.

Given the audience of umap I believe it is askign too much of the user to know what he/she shoiuld add so this should be part of the configuration of the available tile layers.

At the same time it would probably be a good idea to provide contact information and links to the T&Cs of the layer providers in the umap interface.


Problem with install related to sesql

Originally reported by: fred gifford (BitBucket: fgifford, GitHub: fgifford)


When doing the instal when I try to run - "python manage.py syncdb --migrate" it errors out. I have traced this to sesql - by commenting sesql out of the installed apps in base.py everything works fine. I'm assuming this is because I don't have sesql setup correctly but can't figure out why. Are there any steps I need to do seperatly to insure it is installed correctly? Thanks.


problème d'autorisation

Originally reported by: BitBucket: Cyrille37, GitHub: Cyrille37


Bonjour,

J'ai créé une carte il y a 1 semaine en mode ouverte à tous http://u.osmfr.org/m/3990/ mais impossible aujourd'hui de la modifier.
Après saisie des modifications de la description de la carte, umap me demande de me connecter avec OSM, Bitbucket, Github ou Tweeter.

  • umap ne m'avait pas demandé ça à la création de la carte.
  • Il n'y a aucune information quand au "proprio" de la carte.

Peut-être en rapport avec les tickets #45 et #29
La carte: http://u.osmfr.org/m/3990/


Missing ALLOWED_HOST breaks everything when setting DEBUG=False

Originally reported by: Cristian Consonni (BitBucket: CristianCantoro, GitHub: CristianCantoro)


Hi,
I have installed umap on a server and when I switched from DEBUG=True to DEBUG=False I got a 500 error.

I finally found the origin of the problem being the fact that the setting ALLOWED_HOST, which is required by Django >= 1.5 is missing in local.py.

Here a couple of relevant references:

I am attaching a patch to this bug report.

Thank you.

Cristian


Customization options do work not in Chrome, mostly

Originally reported by: BitBucket: positron96, GitHub: positron96


I am trying to create a map on http://umap.openstreetmap.fr using Chrome, and it seems I cannot change color of any object (either line, polygon or marker), and all of the marker properties (shape and symbol). Specifically, the gui shows me a color table to choose something, or a list of available marker shapes, but clicking on them does not change anything.


Enable POI "bubble" photo resizing/size restricting

Originally reported by: BitBucket: jaakkoh, GitHub: jaakkoh


Would be fantastic if one could define pixel size restrictions to photo (embed) link {{http://kuva.url.com}} .

Essentially I'd love to see the possibility do what is possible with
convert dragon.gif -resize 64x64 resize_dragon.gif
(via http://www.imagemagick.org/Usage/resize/#resize )
.. But only for viewing in the bubble, of course. Not actually resizing. .. So, similar to the [width=#] tag in HTML (I think..). Just to be able to reduce the size of over-sized pictures (so that they don't make the bubbles look horrible).


Add ability to change the order of data features listed in 'Browse Data'

Originally reported by: BitBucket: skorasaurus, GitHub: skorasaurus


I couldn't find this if it's possible right now, but I would like the possibility in umap to change the order that your data is displayed in the 'browse data' list.

For example, as shown in this image, 'highland park' is listed at the top. How about being able to edit it so that highland park is listed at the bottom ?
image of example

At the moment, the only possible workaround for this is to:
export your points into geojson, reorganize them in a text editor and then upload them again as a layer.


Export to KML?

Originally reported by: Dan Dascalescu (BitBucket: dandvd, GitHub: dandvd)


I've tried to convert the GeoJSON to KML but haven't quite found a tool that worked.

If this is non-trivial, and a tool exists, then maybe link to the tool in the Share/export panel?

Would be great to enable interoperability via KML.


Import error sesql_config

Originally reported by: Cristian Consonni (BitBucket: CristianCantoro, GitHub: CristianCantoro)


Hi,
I am installing umap usign ngix+uwsgi (I am following this guide: https://gist.github.com/evildmp/3094281) launching umap either standalone or with uwsgi I get an import error about the module sesql_config.

I have solved it in two ways, I have added to .bashrc the following line:

export PYTHONPATH=$PYTHONPATH:<path_to_umap>/umap/apps

and adding to the uwsgi configuration the following python path option
pythonpath = <path_to_umap>/umap

but it seems to me that this is not The Best Way(TM) to solve the problem.

What could I do?

Thanks,

Cristian


Add a way to contact author of the map

Originally reported by: BitBucket: CharlesNepote, GitHub: CharlesNepote


It exist a page for each user like :
http://umap.openstreetmap.fr/en/user/hyerestourisme/

But when you're on a map:

  • it's impossible to know who is the creator of the map if he hasn't precised it by hand
  • we might like to see the author's other maps

Also it's impossible to contact the author: it's a real issue, in particular in those cases:

  • if the data are not in an open licence
  • if we don't have permission to modify the data (but it would be relevant to)

Propositions

  • Allow the author to simply publish a mention of author (and a link to his profile)
    => it could be an option "Link to user profile" in the "Edit map settings" menu (checked by default)
    => it could be an "Author name" option on the "Edit map info"
  • Provide a way to contact the author
    => at the beginning, an easy way can a link to OpenStreetMap user account of the author?

Last, thanks for the big job!


Centrage automatique sur le dernier marqueur renseigné

Originally reported by: Anonymous


Bonjour,
j'ai une suggestion de développement.
Est-ce qu'il serait possible de créer une fonctionnalité qui permette de centrer par défaut une carte sur le dernier marqueur ajouté? Ce serait dans le but de permettre une meilleure consultation de celle-ci, notamment lorsqu'il s'agit de suivre un itinéraire qui évolue de jour en jour.
Il me semble que Google Map propose une fonctionnalité similaire


POIs should be displayed outside the center of the world map

Originally reported by: Dan Dascalescu (BitBucket: dandvd, GitHub: dandvd)


When you zoom out a lot, the map may "wrap around" and display the same areas two or more times. The problem is POIs are only displayed once.

This makes it impossible, for instance, to center the map on the Pacific and display POIs in Japan and the West coast of the Americas at the same time.

Test http://umap.fluv.io/en/map/blueseed-platforms_866#2/-11.9/-110.7


Manage user cancellation on social network login

Originally reported by: Igor Támara (BitBucket: ikks, GitHub: ikks)


When a user cancels the intention to login with a social network, fires a 500 error, also if the user do not allow "read your user preferences" when connecting through osm credentials.

Please take a look at https://bitbucket.org/ikks/umap , I tried to make a pull request, but bitbucket gave me an "Access denied" when I visited https://bitbucket.org/yohanboniface/umap/pull-request/new . Do I have to delete the forked repo and create a new one in order to make the pull request properly?

Still my patch is not working as it should be, because I was trying to capture the new Exception to manage it as a message, avoiding the 500, but for some reason the middleware is not taken into account.

I prefer to ask you to see that, insteand of being shy on it, it must be something easy to track, but I'm not seeing it.


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.