Giter Club home page Giter Club logo

domegis's Introduction

aparabólica website

Basic setup

Follow these steps:

  • Install/update ruby (you should probably use rvm);

  • Clone this repository locally and cd into it;

  • Run bundle install to install rubygems;

  • Then jekyll serve.

domegis's People

Contributors

miguelpeixe avatar vgeorge avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fxllyf

domegis's Issues

error while syncing

tapajos_vegation
tapajos_roads

error:

TypeError: Cannot read property 'length' of undefined
    at Request._callback (/vagrant/src/services/layer/hooks/index.js:244:31)

syncFinish event not firing

trying to set syncFinish event on frontend so that it only enables layer edition/view creation on sync finish but the event is not firing.

"get map" lightbox

wizard for iframe/wordpress shortcode creation by selecting layers and views

About Map Services

There are two types of Map Services, differentiated by property singleFusedMapcache:

I've consulted the documentation of esri-leaflet plugin, which has active development and will help downloading features from Feature Service at the back-end. I believe it will also be useful in the front end, mainly to apply customisations of dynamic map layers.

I think we don't need to syncronize features from dynamic map layers, because tiles are already generated by ArcGIS platform, but it would be useful to allow popup customization inside DomeGIS.

attached meta to geographic table feature

there should be a model for attached meta on a table's feature

attached_meta model:

{
  "name": "string",
  "value": "string",
  "table": "table_id",
  "table_column": "table column to identify feature key by",
  "feature_val": "table feature val to identify by"
}

value is supposed to work as url for file download or regular text.

better approach to find the feature is welcome (table_column:feature_val doesnt seem the best approach)

cc @vgeorge

char too long error on content sync

error message: value too long for type character varying(255)
sql reference:

"INSERT INTO "contents" ("id","name","title","type","description","url","tags","modifiedAt","createdAt","updatedAt") VALUES ('4fc51732030f41f084a9e8cbd085beef','Amazon_intact_forest','Amazon_intact_forest','Feature Service','The Intact Forest Landscapes (IFL) data set identifies unbroken expanses of natural ecosystems within the zone of forest extent that show no signs of significant human activity and are large enough that all native biodiversity, including viable populations of wide-ranging species, could be maintained. To map IFL areas, a set of criteria was developed and designed to be globally applicable and easily replicable, the latter to allow for repeated assessments over time as well as verification. IFL areas were defined as unfragmented landscapes, at least 50,000 hectares in size, and with a minimum width of 10 kilometers. These were then mapped from Landsat satellite imagery for the year 2000.Changes in the extent of IFLs were identified within year 2000 IFL boundary using the global wall-to-wall Landsat image composite for year 2013 and the global forest cover loss dataset (Hansen et al., 2013). Areas identified as “reduction in extent” met the IFL criteria in 2000, but no longer met the criteria in 2013. The main causes of change were clearing for agriculture and tree plantations, industrial activity such as logging and mining, fragmentation due to infrastructure and new roads, and fires assumed to be caused by humans.This data can be used to assess forest intactness, alteration, and degradation at global and regional scales.','http://services1.arcgis.com/RTK5Unh1Z71JKIiR/arcgis/rest/services/Amazon_intact_forest/FeatureServer',ARRAY['wwf','forest','amazon']::TEXT[],'2016-04-12 12:14:20.000 +00:00','2016-04-01 18:29:20.000 +00:00','2016-04-13 14:56:13.412 +00:00') RETURNING *;"

fatal error

after syncing tapajos_power_projects:

SyntaxError: Unexpected token <
    at Object.parse (native)
    at Request._callback (/root/DomeGIS/src/services/layer/hooks/index.js:156:23)

error syncing intact_forest_guy

[Error: Tileset has no interactivity]
windshaft.tiles: TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'findStatusCode'
[Error: Tileset has no interactivity]
windshaft.tiles: TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'findStatusCode'
[Error: Tileset has no interactivity]
windshaft.tiles: TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'findStatusCode'
[Error: Tileset has no interactivity]
windshaft.tiles: TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'findStatusCode'
4764faf9754040b1ad91ae3420eae707_1: sync error
[Error: A column called 'id' was added to the attributes of '4764faf9754040b1ad91ae3420eae707_1' but not marked with 'primaryKey: true']

server crashed unexpectedly

I wasn't navigating through the site (except that I left a pending view creation, I got no response and kept working on other stuff).

SyntaxError: Unexpected token <
    at Object.parse (native)
    at Request._callback (/vagrant/src/services/layer/hooks/index.js:156:23)
    at Request.self.callback (/vagrant/node_modules/request/request.js:199:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> (/vagrant/node_modules/request/request.js:1036:10)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/vagrant/node_modules/request/request.js:963:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read

content .remove method returns error

the method is looking for the column id but it doesnt exist, the id is store at _id column

{
  "name": "SequelizeDatabaseError",
  "message": "column 'id' does not exist",
  "sql": "DELETE FROM 'contents' WHERE 'id' = 'cf11ef6d41044be287e31f5a017f4f96'"
}

sync error

partial log:

  original: 
   { [error: Geometry type (MultiPolygon) does not match column type (Polygon)]
     name: 'error',
     length: 135,
     severity: 'ERROR',
     code: '22023',
     detail: undefined,
     hint: undefined,
     position: undefined,
     internalPosition: undefined,
     internalQuery: undefined,
     where: undefined,
     schema: undefined,
     table: undefined,
     column: undefined,
     dataType: undefined,
     constraint: undefined,
     file: 'gserialized_typmod.c',
     line: '164',
     routine: 'postgis_valid_typmod',
     sql: 'INSERT INTO "dd5a3bd739d447899d6a109156f63d1f_0s" ("id","geometry","FID","YEAR_","ANNOTATION","OTHER_NAME","EDITOR","LAYER","所在省份","保护区级别","保护区名","地区","保护类型","AREA1","NAME","PROVINCE","Shape_Le_1","Type_E","Class_of_N","createdAt","updatedAt")
.....

error syncing Panamazon_ecoregions content

error in sync
{ name: 'SequelizeDatabaseError',
  message: 'Geometry type (MultiLineString) does not match column type (LineString)',
  parent: 
   { [error: Geometry type (MultiLineString) does not match column type (LineString)]

fatal error while editing view cartocss

happened on homolog env while changing the color (live map updates) for a point layer:

TypeError: Cannot set property 'grainstore' of undefined
    at EventEmitter.module.exports (/root/DomeGIS/src/services/tiles-new/index.js:32:19)

derived layers don't have domegis_id

causing error while trying to create styles:

[Error: Postgis Plugin: ERROR:  column "domegis_id" does not exist
LINE 1: SELECT * FROM (select domegis_id, geometry  from "055ad317a2...
                              ^

in executeQuery Full sql was: 'SELECT * FROM (select domegis_id, geometry  from "055ad317a2d85285a91a3a19a9be24db337a76ac") as cdbq LIMIT 0'
  encountered during parsing of layer 'layer0' in Layer]

error syncing content

fatal error syncing content: bnb2005

TypeError: Cannot read property 'length' of undefined
    at Object.async.eachSeries (/usr/lib/nodejs/async.js:117:17)
    at Request._callback (/vagrant/src/services/content/hooks/index.js:77:15)

Can't create view for layer

Error related to id field for layer in Ecologically_or_Biologically_Significant_marine_Areas_identified_by_Japan.

another unexpected crash

ReferenceError: done is not defined
    at Request._callback (/vagrant/src/services/layer/hooks/index.js:67:21)
    at self.callback (/vagrant/node_modules/request/request.js:199:22)
    at Request.EventEmitter.emit (events.js:95:17)
    at Request.onRequestError (/vagrant/node_modules/request/request.js:821:8)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

domegis_id error at interactivity on views of derived layers

Creating a derived layer generates a "domegis_id" field for Interactivity on views. This field should not exist.

Here is an example of the error:

Postgis Plugin: ERROR: column reference "domegis_id" is ambiguous LINE 1: SELECT ST_AsBinary("geometry") AS geom,"domegis_id","eco_nam... ^ in executeQuery Full sql was: 'SELECT ST_AsBinary("geometry") AS geom,"domegis_id","eco_name" FROM (select domegis_id, geometry ,"domegis_id","eco_name" from "5b7f58f66c12f143df5ff596c3fba5b26ab664d5") as cdbq WHERE "geometry" && ST_MakeEnvelope(-179.9999999716394,85.05112874112133,-179.9999995776005,85.05112877511378,4326)'

error on pgsql2shp

syncing Ecologically or Biologically Significant marine Areas identified by Japan

*** buffer overflow detected ***: pgsql2shp terminated

save view error

trying to save view default preset of cartocss on layer Tapajos_dams_storymap, from tapajos_power_projects content.

TypeError: Cannot read property '0' of undefined
    at Request._callback (/vagrant/src/services/layer/hooks/index.js:177:40)

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.