GithubHelp home page GithubHelp logo

nicoazel / beargis Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 2.0 142.39 MB

A GIS READ WRITE GRASSHOPPER PLUGIN

Home Page: https://nicoazel.github.io/BearGIS/

C# 100.00%
grassshopper3d grasshopper geojson grasshopper-plugin epsg esri-geojson shp shp-file shp-write

beargis's Introduction

BearGIS

BearGIS Icon

Intro

BearGIS is a Grasshopper plugin written in C#

Check out the plugin-page: https://nicoazel.github.io/BearGIS/

Check out Demo Video: YouTube Video

See Examples: BearGIS Example.zip

See Forum: BearGIS Plugin Discussion

Primary Functionality

The goal of BearGIS is to develop a plugin that allows fluid exchange of GIS data into and out of grasshopper.

This is currently a work in progress. Checked components are integrated into master and functioning at some level. There may still be errors in some use cases. Any unchecked component is eather planed but not implmented or still in a Dev Branch.

BearGIS Components List

Export Tab

This tab is for components that export geometry with attributes to GeoJson formats

Polyline to ESRI

  • this component converts Grasshopper Polylines to ESRI GeoJSON

Polyline to GeoJSON

  • this component converts Grasshopper Polylines to GeoJSON

Polyline to SHP

  • this component converts Grasshopper Polylines to SHP

Polygon to ESRI

  • this component converts Grasshopper Polygons to ESRI GeoJSON

Polylgon to GeoJSON

  • this component converts Grasshopper Polygons to GeoJSON

Polylgon to SHP

  • this component converts Grasshopper Polygons to SHP

Point to ESRI

  • this component converts Grasshopper Point to ESRI GeoJSON

Point to GeoJSON

  • this component converts Grasshopper Point to GeoJSON

Multi-Point to ESRI

  • this component converts Grasshopper Point to ESRI GeoJSON

Multi-Point to GeoJSON

  • this component converts Grasshopper Point to GeoJSON

Multi-Point to SHP

  • this component converts Grasshopper Point to SHP

Import Tab

This tab is for components that can import GeoJSON files with geometry and attributes into grasshopper.

Read SHP

  • this component reads .shp files into grasshopper! mlti-Part geometry is handeled with sub branches eg. Branches {A:A} & {A:B} are each part of Feature "A" and would correspond to attributes on branch {A} . hint use pathMapper {a;b}=>{a} after generating polylines and polygons.

Read SHP

  • this component reads .shp files into grasshopper! mlti-Part geometry is handeled with sub branches eg. Branches {A:A} & {A:B} are each part of Feature "A" and would correspond to attributes on branch {A} . hint use pathMapper {a;b}=>{a} after generating polylines and polygons. Note - This component is currently very slow, this needs some further investigation.

Import ESRI GeoJSON

  • this component imports a ESRI formatted GeoJSON with its fields and attributes Multi-Part geometry is handeled with sub branches eg. Branches {A:A} & {A:B} are each part of Feature "A" and would correspond to attributes on branch {A}

Import GeoJSON

  • this component imports normal GeoJSON with its fields and attributes Multi-Part geometry is handeled with sub branches eg. Branches {A:A} & {A:B} are each part of Feature "A" and would correspond to attributes on branch {A}

Convert Tab

Lat Long to Point

  • this component takes latatude, longatude, and desired projection system from an ESRI .prj file (ESRI WKT) and generates a point. This can be used to place refrance points or situate a base map for drawing over if refrance data is unavailable. All points are WGS84 - World Geodetic System 1984 EPSG:4326

Point Lat Lon

  • this component converts a point to lat lon for geojson based on a .prj file for the points projection system. all outputes are in wsg84

reproject

  • this component converts points between two projection systems.

beargis's People

Contributors

nicoazel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

crisyan tubbz-alt

beargis's Issues

1. Solution exception:Object reference not set to an instance of an object.

Hi, first thanks for wonderful plugin.
I am trying to import a Geojson file to grasshoppr. I used EsriJson component and connect the file path to it and make the boolean true.
I got this error : 1. Solution exception:Object reference not set to an instance of an object.
is there anything that I should do before connecting the file to the component ? How can I solve this? would be appreciated if you can help

1. Solution exception:Can not convert Array to Double.

When I GeoJson to GH component, it shows this error message, "1. Solution exception:Can not convert Array to Double."
It seems the structure of my geojson file is little different. Is there any way I can import my files?

Thanks!

Output DBF file field settings

Is there a way to set for Write SHP the length and type of DBF fields? Right now it seems to output 255 characters long QStrings only, but I would need to be able to set for example 80 characters long Strings, or 10 characters long integer fields too. The other SHPExport component I have tried from Food4Rhino does this by specifying the field type like so: "Name;C;80" (name of row; type is Characters; length of input string) @nicoazel

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.