The Wayback Machine - https://web.archive.org/web/20201218153710/https://github.com/jirik/LudvikDiplomka
Skip to content
master
Go to file
Code
This branch is 79 commits behind LudvikAdamec:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

DIPLOMKA

BASED on repository https://github.com/jirik/ol3ds

ol3 devstack

Current versions:

This repository is not officially supported by Google, ol3, or individual module authors.

Requirements

  • Java 7 or higher
    • Windows users: path/to/directory/with/java.exe must be in your PATH system variable
  • Python 2.7 (32bit or 64bit; must correspond with node.js because of node-gyp)
    • Windows users: path/to/python/directory and path/to/python/directory/Scripts must be in your PATH system variable
  • node.js (32bit or 64bit; must correspond with Python 2.7 because of node-gyp)
  • grunt npm install -g grunt-cli
  • bower npm install -g bower
  • git
    • Windows users: path/to/directory/with/git.exe must be in your PATH system variable

Installation

git clone https://github.com/jirik/ol3ds.git
cd ol3ds
npm install
bower install
sudo grunt install (Linux) / grunt install (Windows)

Problems with installation

Windows users: If you have some errors during npm install related to node-gyp, you will probably need to install Microsoft Visual Studio C++ 2012 Express for Windows Desktop and run the installation again.

Development

  • grunt to run dev server and open Hello World in the browser
    • Edit content of client/src/js/webpages/index.js and see changes in the browser
  • grunt lint to run gjslint
  • grunt fix to run fixjsstyle

Build

  • grunt build to compile the code and copy files to client/public
  • grunt build --map to include also source maps

=======

HINTS dioplomkaVT - rendering commands....

Tilestache seed

Importing to pgsql: shp2pgsql -I -s 4326:900913 hexagonalGrid.shp public.hexagonalGrid | psql -d gis -U postgres -h

shp2pgsql -I -s 5514:900913 delaunyho.shp public.delaunyho | psql -d gis -U postgres -h localhost

Tilestache seed comands: tilestache-seed.py -b 48.51 11.97 51.19 19.07 -c tilestache.cfg -l delaunyho -e topojson 9 10 11 tilestache-seed.py -b 48.51 11.97 51.19 19.07 -c tilestache.cfg -l hexagon -e topojson 9 10 11 12 tilestache-seed.py -b 49.40 15.1 49.47 15.3 -c tilestache.cfg -l parcels -e topojson 12 13 14 15 16 17 18 19 20 21 //pozor na bbox...ma prehozene souradnice nez vsechny generatory bboxu tilestache-seed.py -b 48.51 11.97 51.19 19.07 -c tilestache.cfg -l okresy -e topojson 9 10 11 12 13

Transformace EPSG v postgisu CREATE TABLE new_table AS SELECT ST_Transform(geom,900913) AS geom, ogc_fid FROM newparcel;

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.