Skip to content

sciamlab/gson-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gson-viewer

SciamLab GeoJson Viewer

Intro

The aim of the project is to define a simple service to render on map the content of a URI returning data in GeoJson format.

How to use

The tool simply takes as input an URI as uri query parameter and shows the returned data on the map.

Using this gist as example:

http://github.sciamlab.com/gson-viewer?uri=https://gist.githubusercontent.com/pstarace/01bb1a568619b171d7ae/raw/74c28fa998872bebfe8e5b5915f0c4d4d779595c/rome.geojson

If a wrong uri is passed or the uri doesn't return a valid GeoJson, a world map is shown: http://github.sciamlab.com/gson-viewer?uri=xxx.gson

If you need to pass any other query parameters to the GeoJson endpoint, simply add them to the query string and they will be passed to the url.

Contribute

The tool is pretty stable as it has been extensivelly tested. If you spot any issue please report on ideas and bugs.

License

Copyright 2015 Sciamlab s.r.l.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published