Git Product home page Git Product logo

geoext3-ws's Introduction

GeoExt

JavaScript Toolkit for Rich Web Mapping Applications.

Build Status Coverage Status dependencies Status devDependencies Status

GeoExt logo

GeoExt is Open Source and enables building desktop-like GIS applications through the web. It is a JavaScript framework that combines the GIS functionality of OpenLayers with the user interface savvy of the ExtJS library provided by Sencha.

Version 3 of GeoExt was the successor to the GeoExt 2.x-series and has been built atop the following versions of its base libraries: OpenLayers v3.x / v4.x and ExtJS 6.

With version 4 GeoExt supports the newest official installment v6.x of OpenLayers and ExtJS 6.2.

We are trying hard to keep up with developments on both our parent libraries. The current state of GeoExt is compatible with ExtJS 6.2.0 and OpenLayers 7.1.0. This state is released as GeoExt v4.0.0.

OpenLayers ExtJS GeoExt
7.1.0 6.2.0 5.0.x
6.5.0 6.2.0 4.0.x
4.6.5 6.2.0 3.4.0 & 3.3.x & 3.2.0
3.20.1 / 4.3.x 6.2.0 3.1.0
3.20.1 6.2.0 3.0.0

More information on GeoExt

Have a look at the official homepage: https://geoext.github.io/geoext/

You will find examples, API documentation (with and without inherited functionality from ExtJS), links to mailinglists and more over there.

What you see on https://geoext.github.io/geoext/ are the contents of the gh-pages-branch. If you encounter anything that should be fixed, please issue a pull request against that branch and we will merge it as soon as possible.

How to use GeoExt inside your Sencha app

You can use GeoExt either via an npm install @geoext/geoext in your application folder, or (if you want the latest and greatest), you can use it from a git clone of this repository.

Configuring your apps classpath

You will have to adjust the classpath in you app.json to include geoext3, like below. Depending on how you retrieved the code from the step before, you will have to adapt the path. When you installed geoext3 via npm, the path needs to look like ./node_modules/@geoext/geoext/src. Else it will be the folder where you cloned the repository into.

    "classpath": [
        "app",
        "${toolkit.name}/src",
        "./lib/geoext/src"
    ]

In the snippet above, lib/geoext is a git clone of the GeoExt repo.

GeoExt also offers components, which are only compatible with the classic toolkit of ExtJS (e.g. StateProvider or GeocoderCombo). In case you want to use them you also have to add the classic folder to the classpath. So your complete classpath definition could look like below:

    "classpath": [
        "app",
        "${toolkit.name}/src",
        "./lib/geoext/src",
        "./lib/geoext/classic"
    ]

To help with your first GeoExt project, follow the instructions provided to build a GeoExt Universal app. This app runs on the desktop and on mobile.

Examples

Classic Toolkit

https://geoext.github.io/geoext/master/examples/component/map.html

Modern Toolkit

Want to contribute? Yes, please 😀

Read the hints for developers to get started. We look forward to your contributions!

Initial Codesprint

To kickstart the new GeoExt 3 project a code sprint has been done in Bonn from 17th to 19th of June 2015. For more informations check the following links: Code sprint WIKI page, Official blog post of code sprint day 1, Official blog post of the code sprint days 2 and 3


OSGeo Community Project

GeoExt is an OSGeo Community project

geoext3-ws's People

Contributors

awaterme avatar chrismayer avatar dnlkoch avatar geographika avatar marcjansen avatar weskamm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

geoext3-ws's Issues

Impossible to start on Windows environment

0 info it worked if it ends with ok
1 verbose cli [ 'c:\Program Files\nodejs\node.exe',
1 verbose cli 'c:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 error [email protected] start: mkdir -p src/_book && npm run doc:serve
9 error Exit status 1
10 error Failed at the [email protected] start script.
10 error This is most likely a problem with the geoext3-ws package,
10 error not with npm itself.
10 error Tell the author that this fails on your system:
10 error mkdir -p src/_book && npm run doc:serve
10 error You can get their info via:
10 error npm owner ls geoext3-ws
10 error There is likely additional logging output above.
11 error System Windows_NT 6.1.7601
12 error command "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
13 error cwd c:\Users\sgalopin\Desktop\geoext3-ws-master
14 error node -v v0.10.28
15 error npm -v 1.4.9
16 error code ELIFECYCLE
17 verbose exit [ 1, true ]

Feature Grid Layout example throws OL #36 error - "Unknown SRS type. Expected "name" or "EPSG"."

I'm running the workshop and at step: http://localhost:4000/feature-grid/prepare-layout.html
the following code has to be inserted loading the file in GeoJSON format.
var vectorLayer = new ol.layer.Vector({ source: new ol.source.Vector({ url: 'data/aimag-centers.json', format: new ol.format.GeoJSON() }), name: 'Aimag', style: redStyle });
This does not work and OpenLayers throws OL Error 36. This is with OpenLayers version 4.6.5.

The error can be removed by removing following lines from the aimag-centers.json file:

, "crs":{ "type":"EPSG", "properties":{ "code":"4326" } }

Rendered Features Disappear when Columns are Sorted

There is a TOFIX comment in feature-grid/create.md:

* Note: If you sort on a column, some rendered features might disappear
from the grid. This is a known issue, and a solution to this is very welcome.

There is already an issue in GeoExt - geoext/geoext#266 - but might be worth keeping here also as a reminder.

npm error

I tried to run the workshop with npm install and npm start, but I receive an error. Below you can find the error log.

Do you have an idea what is wrong there?

my command:

sudo npm start

> [email protected] start /home/joe/Downloads/geoext3-ws-master
> mkdirp src/_book && parallelshell "node scripts/sync-exercises.js" "npm run doc:serve"

child_process.js:403
    throw new TypeError('"cwd" must be a string');
    ^

TypeError: "cwd" must be a string
    at normalizeSpawnArguments (child_process.js:403:11)
    at exports.spawn (child_process.js:496:38)
    at /home/joe/Downloads/geoext3-ws-master/node_modules/parallelshell/index.js:104:17
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/home/joe/Downloads/geoext3-ws-master/node_modules/parallelshell/index.js:100:6)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `mkdirp src/_book && parallelshell "node scripts/sync-exercises.js" "npm run doc:serve"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/joe/.npm/_logs/2018-05-24T15_57_19_413Z-debug.log

Error log file:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/joe/Downloads/geoext3-ws-master/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
9 verbose lifecycle [email protected]~start: CWD: /home/joe/Downloads/geoext3-ws-master
10 silly lifecycle [email protected]~start: Args: [ '-c',
10 silly lifecycle   'mkdirp src/_book && parallelshell "node scripts/sync-exercises.js" "npm run doc:serve"' ]
11 silly lifecycle [email protected]~start: Returned: code: 1  signal: null
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: `mkdirp src/_book && parallelshell "node scripts/sync-exercises.js" "npm run doc:serve"`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/joe/Downloads/geoext3-ws-master
16 verbose Linux 4.13.0-43-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
18 verbose node v8.11.2
19 verbose npm  v6.1.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: `mkdirp src/_book && parallelshell "node scripts/sync-exercises.js" "npm run doc:serve"`
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

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.