-
Notifications
You must be signed in to change notification settings - Fork 150
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
What kind of file format does polylabel accept? #43
Comments
GeoJSON polygon format is an array of rings, where each ring is an array of |
What do you mean by "file"? Are you using the original JavaScript library? In that case you should just feed the example: |
@msageryd one level deeper, because polygon has multiple rings (an outer ring and holes). |
@mourner Yes, of course. Sorry for neglecting that. Updated example for @gabrielmoncea: |
Nice. I manage to discover how to get the point for each polygon in my geojson. Can we update the package to work with Geojsons? |
I tried with geojson and json. But it seems that content of the file must be specific. Can you please add in documentation what kind of file format does it accept and also, how should the content format be?
The text was updated successfully, but these errors were encountered: