Coder Social home page Coder Social logo

derhuerst / berlin-wall-shape Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 4.0 363 KB

The Berlin Wall (Berliner Mauer) as GeoJSON.

Home Page: https://github.com/derhuerst/berlin-wall-shape#berlin-wall-shape

License: Other

JavaScript 100.00%
berlin wall geojson shapefile

berlin-wall-shape's Introduction

berlin-wall-shape

The Berlin Wall (Berliner Mauer) as GeoJSON. Taken from the open data portal of Berlin.

see a live map

npm version build status chat on gitter support me on Patreon

a screenshot of a map showing the shape

Installing

npm install berlin-wall-shape

Usage

const shape = require('berlin-wall-shape')
console.log(shape)

shape will be a GeoJSON MultiLineString.

{
	type: 'MultiLineString',
	coordinates: [
		[
			[13.204769, 52.616444],
			[13.208006, 52.617655],
			// …
		],
		[
			[13.292293, 52.661454],
			[13.295914, 52.66113],
			// …
		],
		// …
	]
}

License

The underlying data is licensed under the proprietary Geodatennutzungsverordnung.

Contributing

If you have a question or have difficulties using berlin-wall-shape, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

berlin-wall-shape's People

Contributors

derhuerst avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

berlin-wall-shape's Issues

direct access to Berlin Wall shape file without npm?

Hi @derhuerst ,

I checked your code, and being honest, it is the first time I deal with npm. I am looking for a shapefile of the berlin wall, and I have not been able to find it. Is it possible from your code to download a geojason, or a shp file to open in Geoda or R?

Thanks,
Felipe

add more shapes

more info from Der Mauerbau am 13. August 1961:

Die Mauer war ein komplexes Sicherungssystem aus mehreren Ebenen. Vom Westen gesehen, bestand sie zunächst aus einer etwa 3,60 Meter hohen Sperrmauer mit Betonrolle an der Spitze. Das war die so genannte Vorderlandmauer – die Mauer, die der Westen aus dem Fernsehen kannte.

Doch bereits am Stadtrand sah die Mauer anders aus: Hier ersetzte stellenweise ein einfacher Metallgitterzaun den Beton. Was zwischen der Vorderlandmauer und der rund drei Meter hohen "Hinterlandmauer" lag, die den Abschluss im Osten bildete, war zu DDR-Zeiten Staatsgeheimnis.

Erst nach dem Fall der Mauer konnte sich die Öffentlichkeit über das System informieren. Zwischen Vorder- und Hinterlandmauer lag der Grenz- oder "Todesstreifen". Er besaß je nach Lage eine Breite von 30 bis 500 Metern – im Durchschnitt waren es 70.

Berlin wall as a Polygon

I'm trying to figure out whether a Point is in East or West Berlin. I need a Polygon shape to do that instead of a MultiLineString. Would be great to have the data in that format!

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.