Coder Social home page Coder Social logo

toposm's People

Contributors

ahlzen avatar asciiphil avatar bnordgren avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

toposm's Issues

Missing PostGIS function shields_get_single_filename

@asciiphil The repository is missing the definition of shields_get_single_filename. Would it be possible to get it added? Or perhaps a description of what it's supposed to do?

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "./toposm.py", line 392, in run
    mapnik.load_map(map, self.mapname + ".xml")
RuntimeError: Postgis Plugin: ERROR:  function shields_get_single_filename(text, text, unknown, integer) does not exist
LINE 1: SELECT * FROM (SELECT way, shields_get_single_filename(netwo...
                                   ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
in executeQuery Full sql was: 'SELECT * FROM (SELECT way, shields_get_single_filename(network, ref, 'cutouts', 20) AS route_shield
               FROM osm_line
	       WHERE osm_id < 0
                 AND route = 'road'
                 AND (network = 'US:I' AND char_length(ref) BETWEEN 1 AND 2)
               ORDER BY ST_Length(way) DESC
	    ) AS shields LIMIT 0'
  encountered during parsing of layer 'shields-very-low-zoom' in Layer at line 837 of 'features.xml'

Cadastral overlay

Create an overlay (for the basemap or for the aerial imagery) from the Montana cadastral dataset. Should at least show the parcels and ownership at appropriate scale.

Rev 2.0 mapping stack

Seeding the map cache for Mineral/Sanders/Missoula counties is not quite done yet. Starting to play with the data some, I'm seeing some things I want to address. I'm currently leveraging the following layers from:

  • TopOSM's hypsorelief (as a base layer)
  • aerial imagery, from NAIP (base layer)
  • TopOSM's features layer (transparent raster overlay)
  • TopOSM's contours layer (transparent raster overlay)

I've only downloaded and imported these over my local area for the sake of time and/or space. However, it does look as if I will have more room on my 64Gb card. Additionally, the existing software stack I've set up for the RPi cannot render map tiles. It relies on having them pre-rendered. If you wander out of the preconfigured area, you just see a blank screen.

For Rev 2.0, I want:

  • to define a "home area" where all data are available (e.g., aerial imagery)
  • the ability to spontaneously wander into new areas without explicit preparation,
    • accepting that less data may be available once I leave the home area
    • ideally, some level of map detail should be available for all of CONUS,
    • minimally, some level of map detail will be available for the western 11 states
  • to be able to render map tiles when necessary
  • to cache map tiles

This set of requirements implies a number of things:

Include northern idaho

The OSM import was just for the state of Montana. It would be useful to have data on the Idaho side too.

Forest service roads

Currently, OSM contains a whole lot of roads which may not be drivable, and it's hard to distinguish open from closed, passable from not, etc. I'd want to distinguish a few important items:

  • Location and type of obstructions (gates, kelly humps, etc)
  • Road status:
    • Open road sections
    • closed road (permanent)
    • closed road (seasonal)
    • whether a closed section is passable or not (possibly "what would it take to make the road passable?")
  • The "effective date" of the above.

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.