Project

General

Profile

Bug #9467

Error when exporting multiple shapefiles

Added by Philippe May almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Pavneet Kaur
Target version:
-
Start date:
19/12/2019
Due date:
% Done:

100%

Close

Description

Geopackage is fine.


Related issues

Related to Gisaf - Support #9483: Performance: writing gpkg is slower than shapefiles New 23/12/2019

Associated revisions

Revision 422c164c (diff)
Added by Philippe May almost 5 years ago

Fixes #9467: export multiple shapefiles

History

#1 Updated by Pavneet Kaur almost 5 years ago

When trying to download gpkg with these layers https://gis.auroville.org.in/download/layers/gpkg/avsm_survey.*V_BLDG_LDTL,avsm_survey.V_BLDG_OTLN,avsm_survey.V_BLDG_PLTF,avsm_survey.V_BLDG_RAMP,avsm_survey.V_BLDG_ROOF,avsm_survey.V_BLDG_RTWL,avsm_survey.V_BLDG_SHED,avsm_survey.V_BLDG_WALL,avsm_survey.V_FENC_BUSH,avsm_survey.V_FENC_GATE,avsm_survey.V_FENC_GRIL,avsm_survey.V_FENC_HARD,avsm_survey.V_FENC_MESH,avsm_survey.V_FENC_METL,avsm_survey.V_FENC_WOOD,avsm_survey.V_ROAD_BRDG,avsm_survey.V_ROAD_CYCP,avsm_survey.V_ROAD_FPAT,avsm_survey.V_ROAD_PAVD,avsm_survey.V_ROAD_UPVD,avsm_survey.V_ROAD_RAMP,avsm_survey.V_VEGE_BAEL,avsm_survey.V_VEGE_BALM,avsm_survey.V_VEGE_BBOO,avsm_survey.V_VEGE_BNNA,avsm_survey.V_VEGE_BNYN,avsm_survey.V_VEGE_CASW,avsm_survey.V_VEGE_CBAL,avsm_survey.V_VEGE_CHKO,avsm_survey.V_VEGE_COCO,avsm_survey.V_VEGE_EUCA,avsm_survey.V_VEGE_GUAV,avsm_survey.V_VEGE_JFRT,avsm_survey.V_VEGE_KAYA,avsm_survey.V_VEGE_LEMN,avsm_survey.V_VEGE_MANG,avsm_survey.V_VEGE_NEEM,avsm_survey.V_VEGE_PALM,avsm_survey.V_VEGE_PAMY,avsm_survey.V_VEGE_PIPA,avsm_survey.V_VEGE_SERV,avsm_survey.V_VEGE_TAMD,avsm_survey.V_VEGE_TDEF,avsm_survey.V_VEGE_TEAK,avsm_survey.V_VEGE_TMPL,avsm_survey.V_VEGE_TRNS,avsm_survey.V_VEGE_WTRE,avsm_survey.V_WATR_EQPM,avsm_survey.V_WATR_LDTL,avsm_survey.V_WMNG_EQPM,avsm_survey.V_WMNG_SEPT,avsm_survey.V_WMNG_SUMP,avsm_survey.V_WMNG_TANK,avsm_survey.V_WMNG_LDTL,avsm_survey.V_VEGE_TREE,avsm_survey.V_VEGE_PLNT,avsm_survey.V_VEGE_CONI*?reproject=falsethe

There is an error.

#2 Updated by Philippe May almost 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by Philippe May almost 5 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Philippe May to Pavneet Kaur

Hi Pavneet,
Sorry, that was i mistake in some update that i did.
Can you please cross check it's OK now?

#4 Updated by Pavneet Kaur almost 5 years ago

When trying with a large amount of layers from multiple main categories, there is same error. (504 Gateway time-out)
While trying with all the layers under vegetation, for eg; it had worked fine.

#5 Updated by Pavneet Kaur almost 5 years ago

The error comes while trying to download GPKG only. Individual shapefiles got downloaded. Thanks!

#6 Updated by Philippe May almost 5 years ago

It's a different error (502 vs 504). 504 means it takes too long to generate (lots of layers).

One question: do you use https://gis.csr.av (only available in CSR)?

#7 Updated by Pavneet Kaur almost 5 years ago

I use gis.auroville.org.in, both in CSR and Outside CSR...

#8 Updated by Philippe May almost 5 years ago

Normally, the "timeout" is set to 5 minutes, which i think should be enough, unless someone wants to kill our server ;) When a request (in that case: making the gpkg/shapefile) takes more than that, the user gets the error instead.

Now, i've cross-checked and found that using gis.auroville.org.in, the timeout actually was 1 minute.

I'll let you retry if you want.

#9 Updated by Pavneet Kaur almost 5 years ago

Did you set the time more than 1 minute now? Retried the gpkg download, 504 time out error is still there...
I used the shapefiles download option to get my work done, thanks!! : )
Also, very useful to download main categories as a gpkg, helps a lot to not have to click on all the sub categories.thumbsup

#10 Updated by Philippe May almost 5 years ago

If you use gis.auroville.org.in, it also depends on Aurinoco (they might have timers on their infrastructure that impact ours). I'll check with Aurinoco, some day.

By the way, do you mean that downloading that same set of layers works as shapefile, but not as gpkg?

#11 Updated by Philippe May almost 5 years ago

  • Related to Support #9483: Performance: writing gpkg is slower than shapefiles added

#12 Updated by Philippe May almost 5 years ago

Closing this ticket now. See the related #9483 for follow up on gpkg.

#13 Updated by Philippe May almost 5 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF