GithubHelp home page GithubHelp logo

Comments (7)

bubastis avatar bubastis commented on July 21, 2024

from ocorrencias-lx.

canales avatar canales commented on July 21, 2024

Not sure if you saw but the CML published an open dataset of the ocurrencias, though with very limited details about each of the reports of their resolution. It's probably not helpful for this map, but just sharing in any case (I'd like that the CML would share the actual resolution of these reports and their outcome, but I doubt that will happen any time soon). https://lisboaaberta.cm-lisboa.pt/index.php/pt/dados/conjuntos-de-dados

from ocorrencias-lx.

bubastis avatar bubastis commented on July 21, 2024

from ocorrencias-lx.

canales avatar canales commented on July 21, 2024

Yeah that one, but it definitely looks like not in real time and stripped out of almost all type of relevant info. For the access to the real-time database, where you using the API below? It seems like it now requires authen credentials to access it (I think in the past I remember seeing it without any access restrictions).

url = "https://gisapps.cm-lisboa.pt/arcgisapps/rest/services/GOPI_Maps_Secure/NaMinhaRuaRead_PROD/MapServer/0/query?where=1%3D1&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=id%2Cnumero%2Crequerente%2Cemail%2Clocal%2Creferencia%2Cdescricao%2Ctipo%2Carea%2Cfreg_descricao%2Cstate&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=id+DESC&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=1000&f=geojson"

from ocorrencias-lx.

canales avatar canales commented on July 21, 2024

From doing a bit of research about the API's that the website "https://naminharualx.cm-lisboa.pt/gopiv2/naminharua/index.jsp" uses I found that they also connect to similar API's to the one you use, but they append this at the beginning "https://naminharualx.cm-lisboa.pt/gopiv2/proxy.jsp?" to bypass the token.

I tried the following url and it worked: https://naminharualx.cm-lisboa.pt/gopiv2/proxy.jsp?https://gisapps.cm-lisboa.pt/arcgisapps/rest/services/GOPI_Maps_Secure/NaMinhaRuaRead_PROD/MapServer/0/query?where=1%3D1&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=id%2Cnumero%2Crequerente%2Cemail%2Clocal%2Creferencia%2Cdescricao%2Ctipo%2Carea%2Cfreg_descricao%2Cstate&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=id+DESC&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=1000&f=geojson

from ocorrencias-lx.

bubastis avatar bubastis commented on July 21, 2024

from ocorrencias-lx.

canales avatar canales commented on July 21, 2024

Fantastic, glad that helped!

from ocorrencias-lx.

Related Issues (2)

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.