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

Check if uploaded filename doesn't end with zip, json, geojson, tiff, tif #499

Open
simgislab opened this issue Aug 5, 2016 · 1 comment
Milestone

Comments

@simgislab
Copy link
Member

simgislab commented Aug 5, 2016

  1. Do not show unsupported extensions
  2. If DnD is used, provide a more helpful error message than "GDAL cannot open...", something like:

Raster layer

"We only support GeoTIFF (*.tif, *.tiff) files at this point. Please try again."

"На данный момент вы можете загружать только файлы GeoTIFF (*.tif, *.tiff). Попробуйте еще раз."

Vector layer

"We only support ESRI Shapefile (.zip) or GeoJSON (.geojson, *.zip) files at this point. Please try again."

"На данный момент вы можете загружать только shape-файлы (.zip) или данные в формате GeoJSON (.geojson, *.zip)."

@simgislab simgislab added this to the 3.0.2 milestone Aug 5, 2016
@simgislab simgislab changed the title Check if uploaded filename doesn't end with zip, json or geojson Check if uploaded filename doesn't end with zip, json, geojson, tiff, tif Aug 8, 2016
@drnextgis drnextgis modified the milestones: 3.0.3, 3.0.2 Sep 27, 2016
@simgislab simgislab modified the milestones: 3.0.4, 3.0.3 Nov 10, 2016
@edpop
Copy link
Member

edpop commented Oct 13, 2020

Загрузчик научился фильтровать форматы в диалоге выбора файла

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

No branches or pull requests

3 participants