So we can ignore XML files in a zip file, or if we detect one, ask the user if it is a GML file.
Landon On Mon, Jan 23, 2012 at 7:30 AM, Rahkonen Jukka <jukka.rahko...@mmmtike.fi> wrote: > Hi, > > Despite ESRI is a non-negligible factor in the GIS world I do not consider > that problem with ESRI .xml metadata files is so big. As far as I know they > are only generated by ESRI software. Shapefiles from other sources can be > opened from zip file without problem. So I would rather keep the feature as > it is than to remove it. Of course even better if it could be fixed. > > -Jukka Rahkonen- > > >> -----Alkuperäinen viesti----- >> Lähettäjä: Landon Blake [mailto:sunburned.surve...@gmail.com] >> Lähetetty: 23. tammikuuta 2012 17:18 >> Vastaanottaja: OpenJump develop and use >> Aihe: Re: [JPP-Devel] Problem with opening zipped shapefiles >> >> So we've got two choices. (1) Remove support for opening zip files. >> (2) Fix OJ's zip file support. >> >> You can put anything in a zip file, so the idea of opening a zip file >> directly seems a little odd to me. We need to teach jump to look for >> and import only supported files from a zip and to ignore the >> unsupported files. >> >> I'm willing to peek at this problem this week. What do Michael, >> Stefan, Ede, Peppe, Jukka, Uwe, etc. think about the two (2) options? >> >> Landon >> >> On Mon, Jan 23, 2012 at 4:23 AM, <edgar.sol...@web.de> wrote: >> > zip,gz files are added as supported file types in trunk and >> since release 1.5.0. >> > >> > ..ede >> > >> > On 23.01.2012 06:50, Rahkonen Jukka wrote: >> >> Perhaps not because they may not know that they can open >> the zipped shapefile sent by email directly without a need to >> unzip. I believe most users are unzipping and opening .shp >> files then. It took some time for me to believe that it is >> not necessary. >> >> >> >> -Jukka Rahkonen- >> >> ________________________________________ >> >> Lähettäjä: Landon Blake [sunburned.surve...@gmail.com] >> >> Lähetetty: 22. tammikuuta 2012 21:35 >> >> Vastaanottaja: OpenJump develop and use >> >> Aihe: Re: [JPP-Devel] Problem with opening zipped shapefiles >> >> >> >> Do we have OpenJUMP users that frequently open zip files? >> >> >> >> Landon >> >> >> >> 2011/11/30 Michaël Michaud <michael.mich...@free.fr>: >> >>> Hi Jukka, >> >>> >> >>> I had already noticed this problem once, but you did much >> better with this >> >>> full explanation and a nice workaround. >> >>> >> >>> I just filled a bug report with a copy of your mail. >> >>> Don't know when I'll have time to have a closer look. >> >>> >> >>> Michaël >> >>> >> >>> Le 30/11/2011 13:59, Rahkonen Jukka a écrit : >> >>> >> >>> Hi, >> >>> >> >>> There is a problem with opening zipped shapefiles which >> are created with >> >>> ESRI products. ESRI is generating an additional .xml >> file that contains >> >>> some metadata about the shapefile. >> >>> >> >>> OpenJUMP File open mechanism believes that such shapefile >> in zip format >> >>> contains two datasets: shapefile and a XML file >> containing GML data. >> >>> OpenJUMP wants to open them both and insists user to point the >> >>> Input-Template-File for XML-GML. If the template is not >> given the file open >> >>> task will not go further. >> >>> >> >>> It is possible to fool OpenJUMP by telling that the .xml >> file inside the zip >> >>> is of type FME GML. In that case template is not asked >> and user can load the >> >>> shapefile. OJ is trying to open also the .xml metadata file which >> >>> is leading to an error. That does not harm the user >> really because the >> >>> shapefile opens as supposed. However, a novice OpenJUMP >> user cannot >> >>> discover the FME workaround. I consider this is a bug >> and user should have >> >>> an option "Do not open" for each recognised data type and for each >> >>> individual file found from the zip. >> >>> >> >>> -Jukka Rahkonen- >> >>> >> >>> >> >>> >> >>> >> -------------------------------------------------------------- >> ---------------- >> >>> All the data continuously generated in your IT infrastructure >> >>> contains a definitive record of customers, application >> performance, >> >>> security threats, fraudulent activity, and more. Splunk takes this >> >>> data and makes sense of it. IT sense. And common sense. >> >>> http://p.sf.net/sfu/splunk-novd2d >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Jump-pilot-devel mailing list >> >>> Jump-pilot-devel@lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >>> >> >>> >> >>> >> >>> >> -------------------------------------------------------------- >> ---------------- >> >>> All the data continuously generated in your IT infrastructure >> >>> contains a definitive record of customers, application >> performance, >> >>> security threats, fraudulent activity, and more. Splunk takes this >> >>> data and makes sense of it. IT sense. And common sense. >> >>> http://p.sf.net/sfu/splunk-novd2d >> >>> _______________________________________________ >> >>> Jump-pilot-devel mailing list >> >>> Jump-pilot-devel@lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >>> >> >> >> >> >> -------------------------------------------------------------- >> ---------------- >> >> Try before you buy = See our experts in action! >> >> The most comprehensive online learning library for >> Microsoft developers >> >> is just $99.99! Visual Studio, SharePoint, SQL - plus >> HTML5, CSS3, MVC3, >> >> Metro Style Apps, more. Free future releases when you >> subscribe now! >> >> http://p.sf.net/sfu/learndevnow-dev2 >> >> _______________________________________________ >> >> Jump-pilot-devel mailing list >> >> Jump-pilot-devel@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> >> >> >> -------------------------------------------------------------- >> ---------------- >> >> Try before you buy = See our experts in action! >> >> The most comprehensive online learning library for >> Microsoft developers >> >> is just $99.99! Visual Studio, SharePoint, SQL - plus >> HTML5, CSS3, MVC3, >> >> Metro Style Apps, more. Free future releases when you >> subscribe now! >> >> http://p.sf.net/sfu/learndevnow-dev2 >> >> _______________________________________________ >> >> Jump-pilot-devel mailing list >> >> Jump-pilot-devel@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > >> > >> -------------------------------------------------------------- >> ---------------- >> > Try before you buy = See our experts in action! >> > The most comprehensive online learning library for >> Microsoft developers >> > is just $99.99! Visual Studio, SharePoint, SQL - plus >> HTML5, CSS3, MVC3, >> > Metro Style Apps, more. Free future releases when you subscribe now! >> > http://p.sf.net/sfu/learndevnow-dev2 >> > _______________________________________________ >> > Jump-pilot-devel mailing list >> > Jump-pilot-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> -------------------------------------------------------------- >> ---------------- >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft >> developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, >> CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel