esri / node-geoservices-adaptor Goto Github PK
View Code? Open in Web Editor NEWThis is a node.js implementation of the ArcGIS REST API
Home Page: http://geonode.geeknixta.com
License: Apache License 2.0
This is a node.js implementation of the ArcGIS REST API
Home Page: http://geonode.geeknixta.com
License: Apache License 2.0
Seems to display the layer name, not the feature server name.
Show how the classes interact with one-another, how the templates are used, and the general data-flow of the app.
Currently always returns JSON.
In the FeatureService
and FeatureService/Layer
pages, the "View In" links at the top of the page do not open the right resource.
Query currently implemented only on a single layer. Output assumes a single layer only in the result set.
When FeatureService::Query
is implemented, this must be extended.
The current Timezone API is proving to be flaky. Even with the app's built-in throttle-limiting, we're seeing occasional errors (see Issue #11).
We should try to use our own services to get timezone information. Or at the very least make the service more robust. Currently, the error is displayed in the logs, but doesn't prevent the application from working.
I get an error when I try to start "node index"
C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor [master]> node index
C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor\node_modules\express\lib\utils.js:313
return new RegExp('^' + path + '$', sensitive ? '' : 'i');
^
SyntaxError: Invalid regular expression: /^(?:([^\/]+?))\rest\info/?$/: Unmatched ')'
at new RegExp ()
at Object.exports.pathRegexp (C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor\node_modules\express\lib\utils.js:313:56)
at new Route (C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor\node_modules\express\lib\router\route.js:35:23)
at Router.route (C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor\node_modules\express\lib\router\index.js:295:15)
at Router.(anonymous function) [as get](C:UsersAdministratorDocumentsGitHubnode-geoservices-adaptornode_modulesexpresslibrouterindex.js
:308:16)
at Function.app.(anonymous function) [as get](C:UsersAdministratorDocumentsGitHubnode-geoservices-adaptornode_modulesexpresslibapplicati
on.js:414:26)
at Object. (C:\Users\Administrator\Documents\GitHub\node-geoservices-adaptor\index.js:102:5)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
Before that, I once got an error with missing "terraformer/Parsing/xxxsomething".
Use memcached or redis to provide centralized caching functionality to data providers
bash-3.2$ node index
Loaded timezones from /Users/andy4683/Documents/git/node-geoservices-adaptor/samples/citybikes/data/timezones.json
Caching Networks...
Initialized new GeoHub Data Provider
App Configured
Caching Networks...
Cached 105 new networks!
Networks cache expires at: Mon Aug 19 2013 09:41:38 GMT-0600 (MDT)
[SyntaxError: Unexpected token <]
The link points to ?f=pjson
which the engine doesn't recognize.
Currently the service will return a set of objectIds but will not accept them for subsequent queries…
Timezones data probably needs to be updated on occasion (e.g. when daylight savings changes for each timezone).
Consider moving the fields json info to data/fields.json. This would allow for a standard location for other custom providers. Then others can easily follow the pattern of data being in the /data subdirectory.
Example:
citybikes/data/timezones.json
citybikes/data/fields.json
It seems the Silverlight viewer does not clear the map out as it pans and requests more graphics. Each time a new result is returned, the graphics get added.
See this by looking at semi-transparent layers and pan the map around.
Perhaps the solution is to more accurately return 304 responses, but that should not be necessary as long as Object IDs remain consistent. This does not happen in other frameworks.
See for example http://geonode.stg.geeknixta.com/citybikes/rest/services/capitalbikeshare/FeatureServer/0/query where the locked
field is present on each record but not in the layer definition.
I'm too much a n00b at this, so need this reviewed, in particular the agsdataproviderbase and citybikes samples.
http.get() is so August 2013.
Well, OK, it's so <pick-a-date-waaay-before-nick-wrote-any-node-code>...
Instead, use Request JS.
Do it.
Just do it already.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.