We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pointed the script from the command line at
http://arcgisserver.semcog.org/arcgis/rest/services/BuildingFootprints/MapServer/2/query
to test it out. here's what the PG layer looks like loaded up in QGIS:
about 100 of the features had one point with the longitude "cut off", like so:
{"type":"MultiPolygon", "coordinates": [[[[13506280.5777559,333401.299540699], [13506310.0249344,333343.036089242], [13506340.0593832,333358.21620737], [13506328.0534777,333381.971128613], [13506367.4163386,333401.865813643], [13506374.8458005,333387.16568242], [13506377.1305774,333388.320538059], [13506418.2496719,333306.963910773], [13506379.3402231,333287.298556462], [13506375.7244094,333294.452755913], [13506361.0564304,333287.039370075], [13506355.8576116,333297.324803144], [13506304.769685,333271.503937006], [13506290.8940289,333298.957349077], [13506260.234252,333283.461614177], [13506281.8251313,333240.742454067], [13506248.2788714,333223.787729681], [13506209.5357612,333300.443241477], [13506204.3818897,333297.838254586], [13506192.8385827,333320.676837265], [13506199.593832,333324.090879261], [13506184.5462598,333353.863188982], [13506214.8070866,333369.157480329], [13506217.8507218,333363.135170624], [13506248.6558399,333378.704724416], [13506231.7276903,333412.198490813], [13506251.5400263,333422.212270334], [1350624,333437.130577445], // <<< problem coordinate! [13506328.9796588,333480.080708683], [13506341.3802493,333455.545275584], [13506336.2562336,333452.955708668], [13506340.6925852,333444.177821532], [13506329.5485564,333438.545603678], [13506334.5790682,333428.592847779], [13506280.5777559,333401.299540699]]]]}
The text was updated successfully, but these errors were encountered:
It looks like I'm mishandling integer coordinates. I'll look into it as soon as possible.
Sorry, something went wrong.
i queried the mapserver for this feature to get the true coordinate. it looks like an issue with coordinates that don't have a decimal:
the coordinate is supposed to be:
[13506244,333437.13057744503]
thanks, this is a really great script, i plan on contributing soon!
I did not properly escape the strings passed to re.sub that perform some of the string munging. This has been fixed in the latest commit: 32d90cd
Thanks for the heads up and let me know if you need anything else!
johnjreiser
No branches or pull requests
pointed the script from the command line at
http://arcgisserver.semcog.org/arcgis/rest/services/BuildingFootprints/MapServer/2/query
to test it out. here's what the PG layer looks like loaded up in QGIS:
about 100 of the features had one point with the longitude "cut off", like so:
The text was updated successfully, but these errors were encountered: