[Gvsig_english] saving project storing relative path names to layer sources

Chris Puttick chris.puttick at thehumanjourney.net
Thu Jan 3 14:40:42 CET 2008


----- "pvmstg" <pvmstg at hotmail.com> wrote:
> Hi Chris,
> 
> Unfortunately I do not agree with you.  We are stuck with win...  
> until.... We try related and fixed path.  For us... related path make 
> 
> it difficult and impossible to use.  We often use old project to  
> start new one but... new project means new folder for that projects  
> so relatives doesn't do the jobs.  Also... all is in the scale of the 
> 
> user... We use gis on few computers with on server for data but many 
> 
> programs on each computer.  When we need to use outside that network 
> 
> it's easy to maps data the same way by allocating letter the same
> ways.
> 
> Also... I haven't try to move project betwen my pc and my mac so... I 
> 
> can't imagine how a relative path can handle multiple systems syntax. 
> 
> y:/data/qc_20M/... and /Users/pvmstg/Documents/data/qc_20M

Relative path is what makes it possible! the relative path is to the project file e.g. <some path data which may be in Unix form /blah/home/foo/projects>/<my project name>/<subfolders> - this moved to Windows or a different Unix or just a different computer just needs to know the start point. The fact the Windows computer (currently) uses a mapped "drive" at G:\ or a \\servername\folder is not important, nor is it important that on my computer the path was /home/user/projects and on your mac it was /users/user/documents/sigprojets. What matters is the paths that follow, even if they include shortcuts (would be mounts in Unix, but Windows users need to be involved too!).


> 
> So for me the two choices is needed and, like I said in my post, with 
> 
> a good paths handler like in Xtools, everyone will be ok.
> 
> In an other subject, if gv_sig whant to extend it's user base, more  
> it can use data from old esri project, more it could be accepted.   
> For one, even with all it's advantage gv_sig won't be attractive if  
> we can't use file geodatabase (not the personal one link to acces).  
> 
> Maybe changing to pyton database is a better way to go... but at our 
> 
> scale it's not something we go foward to... so...

Not sure what scale you are at, but PostGIS scales in all directions i.e. being open source and enterprise class, there is almost no situation in which (strategically) it is not the best option. And even in that small minority it would be advisable to start looking at it!

Our approach is to move to cross-platform and platform neutral solutions wherever possible, and in GIS this means moving spatial data to a database which multiple applications can read/write. This allows a gradual migration to new software, or in our case a mix of products depending on user and use case.

> 
> Marcel
> Le 08-01-02 à 06:41, Chris Puttick a écrit :
> 
> > IMNSHO file paths referenced in applications should never be  
> > absolute, because they can't be. Even if you stick within Windows, 
> 
> > you are making the poor assumption that the application will only  
> > ever be one computer on one version of Windows, or all  
> > organisations have network shares configured the same way (and  
> > still use network shares rather than repositories). And good  
> > applications (read "applications I permit organisations I manage to 
> 
> > use" ;) ), like gvSIG, do not only work on Windows, and it is only 
> 
> > on Windows that the silly concept of drive letters even exists...
> >
> > Why would you use absolute file paths?
> >
> > Chris
> >
> > Chris Puttick
> > CIO
> > Oxford Archaeology: Exploring the Human Journey
> > Direct: +44 (0)1865 263 818
> > Switchboard: +44 (0)1865 263 800
> > Mobile: +44 (0)7917 058 568
> > http://thehumanjourney.net
> >
> > ----- Original Message -----
> > From: "Sergio Clark" <sergio.clark at iver.es>
> > To: "Users and Developers mailing list"  
> > <gvsig_internacional at runas.cap.gva.es>
> > Sent: 02 January 2008 11:32:14 o'clock (GMT) Europe/London
> > Subject: Re: [Gvsig_english] saving project storing relative path  
> > names to layer	sources
> >
> > Hello Ernesto,
> >
> > Yes, that is a good idea. We've been discussing about it recently,
> and
> > we're looking for the best solution. Maybe introduce a checkbox  
> > with the
> > option Absolute or Relative Path when creating a project, in order
> to
> > solve this problem of portability on different workstations.
> >
> > For the moment (it's not the same but also helps the users ;-)) it
> has
> > been implemented the option for choosing a new path when gvSIG
> doesn't
> > find the original path of a layer, because layer has been moved or 
> 
> > we're
> > working in a different workstation. With this, users could see,  
> > layer by
> > layer, which have not been found and introduce the correct new
> path.
> > This new option is implemented for gvSIG future version 1.2.
> >
> > Regards! And thanks for your suggestion.
> >
> > Sergio.
> >
> > -- 
> >
> > Sergio Clark
> > Equipo gvSIG
> > IVER T.I., S.A.
> > www.iver.es
> > www.gvsig.com
> >
> >
> >
> >
> > ernesto sferlazza escribió:
> >> Hi all
> >> Since I've created several replicas of a geographic archive,
> having
> >> the same directory tree schema, on different workstations or  
> >> groups of
> >> workstations operating on different Local Area Networks not
> connected
> >> among them, I think it would be very useful to save projects with
> >> "store relative path names to data sources" option instead of the
> >> defaul absolute path available in GVSIG.
> >> In this way I could distribute easily updated versions of a  
> >> project to
> >> all users, without the need of customization of *gvp file
> (changing,
> >> for example, the path from " C:\SIT_provinciaAG \TRASPORTI\STRADE"
> to
> >> " F:\archivioSIT \TRASPORTI\STRADE") using a text editor.
> >> I have tried, also, to change with a text editor the full path to
> >> relative path subtituting "..\" instead of the archive root path
> (in
> >> the example " ..\ " instead of " C:\SIT_provinciaAG \ ", but it  
> >> didn't
> >> work as I believed.
> >>
> >> Best regards
> >>
> >> ing. Ernesto Sferlazza
> >> responsabile Unità Organizzativa Sistema Informativo Territoriale
> >> della Provincia regionale di Agrigento
> >> piazza Aldo Moro, 1 - 92100 AGRIGENTO
> >> tel 0922 401935
> >>
> ---------------------------------------------------------------------
> 
> >> ---
> >>
> >> _______________________________________________
> >> Gvsig_internacional mailing list
> >> Gvsig_internacional at runas.cap.gva.es
> >> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >>
> >
> >
> >
> > Este mensaje y sus archivos son confidenciales. No está permitida  
> > su reproducción o distribución sin la autorización expresa de "IVER 
> 
> > Tecnologías de la Información". Si usted no es el destinatario  
> > previsto, queda desautorizado cualquier uso, acceso o copia de este 
> 
> > mensaje. Si ha recibido este mensaje por error, por favor bórrelo e 
> 
> > infórmenos por esta misma vía.
> >
> >
> > _______________________________________________
> > Gvsig_internacional mailing list
> > Gvsig_internacional at runas.cap.gva.es
> > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >
> >
> >
> >
> > ------
> > Files attached to this email may be in ISO 26300 format (OASIS Open 
> 
> > Document Format). If you have difficulty opening them, please visit 
> 
> > http://iso26300.info for more information.
> >
> >
> > _______________________________________________
> > Gvsig_internacional mailing list
> > Gvsig_internacional at runas.cap.gva.es
> > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> 
> 
> 
> 
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional



------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.




More information about the Gvsig_internacional mailing list