Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all shape files supported? #884

Open
whatisc opened this issue Aug 6, 2022 · 0 comments
Open

Not all shape files supported? #884

whatisc opened this issue Aug 6, 2022 · 0 comments

Comments

@whatisc
Copy link

whatisc commented Aug 6, 2022

Description

Currently when using Web World Wind to load the "ne_10m_admin_1_states_provinces_lines.shp" file from the natural earth datasets, I receive an error saying "Shapefile record is not supported" and only part of the shape file is drawn.

This file loads and entirely draws the shape file in QGIS and other applications I tried, so I don't think there's an error within the data and it's a relatively well known dataset.

Steps to Reproduce

  1. Load the ne_10m_admin_1_states_provinces_lines.shp shape file.
  2. Start world wind.
  3. Check the console for the error.

Expected behavior:
I expected the entire shape file to be drawn, since most of the other ones I tried work perfectly fine.

Actual behavior:
Instead, the shape file is partially drawn with certain countries like USA are incomplete (only about four states are drawn), while other countries have their states / provinces fully drawn.

This occurs 100% of the time.

The two messages I receive are:
Shapefile record is not supported. worldwind.min.js:85:4729
log https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:85
validateShapeType https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
readRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
s https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
i https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
createPolyline https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
createRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
readRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
next https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
addRenderablesForPolylines https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
addRenderablesForShapefile https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
defaultParserCompletionCallback https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
onreadystatechange https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109

Uncaught Error:
validateShapeType https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
readRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
s https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
i https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
createPolyline https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
createRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
readRecord https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:110
next https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
addRenderablesForPolylines https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
addRenderablesForShapefile https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
defaultParserCompletionCallback https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
onreadystatechange https://files.worldwind.arc.nasa.gov/artifactory/web/0.9.0/worldwind.min.js:109
worldwind.min.js:109:18799

Operating System and Version
Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant