Shapefile Importer for SketchUp

I have been working on a personal open source project for SketchUp. It will import point and polyline shapefiles.

Just add a geo-location and make sure your shapefiles are in geographic coordinates WGS 1984.

Please let me know if you come across any errors. It is in beta/development.

Once I get some feedback and make improvements, I will place in the extension warehouse.

@blipscomb

Thank you for helping out the SU GIS community with the development of the plugin.

I used MapWindow to reproject the attached dataset to wgs84.

bostonMA_polylines.zip (579.5 KB)

The result is what you see here:

The import also has issues with the generated geometry. The ability to navigate, measure and work with the linework is compromised in some way. See attached skp
gis_linework_buggy.skp (704.0 KB)

Cheers
CD

Thanks for testing it! I will look into this tonight.

I have three questions to help me check this issue.

  1. Did you geo-locate your model?
  2. Do you know if these are multi-part lines?
  3. Do you have any lines queried out in MapWindow?

Here’s an example from last night. I download this data from MARIS (Mississippi’s GIS data site). It was railroads and Churches. I’ll look into your file tonight though.

I pulled the x,y values when I ran it, and they were showing as feet.

Also, the .prj file is showing WGS 1984, which does not correctly identify the projection.
GEOGCS[“WGS 84”,DATUM[“WGS_1984”,SPHEROID[“WGS 84”,6378137,298.257223563,AUTHORITY[“EPSG”,“7030”]],AUTHORITY[“EPSG”,“6326”]],PRIMEM[“Greenwich”,0,AUTHORITY[“EPSG”,“8901”]],UNIT[“degree”,0.0174532925199433,AUTHORITY[“EPSG”,“9122”]],AUTHORITY[“EPSG”,“4326”]]

So I defined the projection back to Mass. Mainland by downloading the .prj file.
http://spatialreference.org/ref/epsg/2249/

I then reprojected to WGS 1984 Geographic Coordinates using QGIS. I then added to SketchUp.

Where can I get the plugin? I don’t see it in the Extension Warehouse.

This will import points and polylines. If you’re interested in importing polygons (such as building footprints and heights), you might try this plugin as well:

https://sites.google.com/site/spirixcode/code/jimhami42_shapefile_importer.rbz

There is also a plugin to read OSM XML files that you can select and export data from:

The plugin can be found at:

https://sites.google.com/site/spirixcode/code/jimhami42_osm_importer.rbz

I have a shapefile of watersupply pipelines in WGS84 GCS. While importing, Ruby Console displaying that: "BLOCK-IN"RubyError
Please help me out.

I’m sorry about the issues you are having.

Did you bring in a Google Earth image for geolocation?

Also is you’re line file a 2D or 3D line file?