Letractively / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

mkzip script needs to post instead of get to deal with complex poly used for select #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The mkzip script on maps was updated to handle HTTPS and in the process 
(somehow, perhaps Saul and Aleda started on a copy of the script which was not 
up to date) the post Charlton had which worked became a get.  A post needs to 
be used because otherwise complex polys used to select get an error (there are 
very many vertices).  For example, try selecting schools by Millville (works) 
but by Belchertown does not work.  To select schools by town, draw both, then 
make a small identify box in the town you want to use as the select poly.  
Highlight the towns layer in the query results window then right click the 
specific town row in the bottom part of the windows and choose the option to 
extract by that feature. 

Both the staging maps mkzip and the production maps mkzip are attached.
The production maps mkzip should be copied on maps and tested as a different 
name so as not to interfere with working viewers. 

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 6 Jan 2012 at 9:15

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This is Enhancement 11 in Task Order 4.

As mkzip has undergone revisions somehow this functionality has broken.  The 
staging maps copy does a post which is what is required, the working HTTPS 
production maps copy uses a wget.  On production maps I see an error in 
Apache’s error.log.  I can download schools by Millville shape but not by 
Belchertown. To try this, draw the 2 layers, draw a small identify box in 
Belchertown and choose the Belchertown town from the table.  Right click to 
extract by that shape.

Original comment by Aleda.Fr...@state.ma.us on 23 Jan 2012 at 2:19

GoogleCodeExporter commented 8 years ago

Original comment by Aleda.Fr...@state.ma.us on 15 Feb 2012 at 4:51

GoogleCodeExporter commented 8 years ago

Original comment by Aleda.Fr...@state.ma.us on 17 Feb 2012 at 9:09