2

I have a .pmf file and I would like to open it under ubuntu. However all the layers are directing to a C:/ source. As Linux OS does not have such drive, how can I change the layer source path? Thanks!

Edit: I only have ArcReader with me..... Is it a must that I need to use a editor to output a new .pmf again for linux OS?

  • 2
    Can you cheeck by any chance if relative paths were used when authoring a map document in ArcMap? Because if you want to distribute data together with the published document, you need to use relative paths when you create the map (map document file > Map Document Properties). So, if you are using relative paths, the published map will be able to access the data as long as it stays in the same location relative to the GIS datasets. – Alex Tereshenkov Nov 11 '13 at 11:01
  • it points directly to C:\ drive in Windows.... i.e. C:\map\data.mdb.... So I was wondering how to get the link working under Linux... – MW_hk Nov 12 '13 at 0:03
  • I am afraid then that the only way to repath the published document is to re-publish it in ArcMap with the Publisher extension enabled and use relative paths to the data (since you cannot provide the access to the source data). – Alex Tereshenkov Nov 12 '13 at 8:23
  • Thanks to Alex Tereshenkov, yes, it seems (and I end up) the only way is to use ArcMap to publish the document again.... – MW_hk Nov 13 '13 at 5:51
  • I have wrapped my comments to the answer, so it will be neat. Feel free to accept it. PS. You have mentioned .mdb (personal geodatabase file) in the path above. Just curious, did you make it work for ArcReader on Linux? – Alex Tereshenkov Nov 13 '13 at 6:55
2

If when authoring a map document in ArcMap relative paths were used then you could just replicate the location of the data on the Linux machine. This is a common practice for distributing .pmf files.

So, if you want to distribute data together with the published document, you need to use relative paths when you create the map (use the File > Map Document Properties menu). Then, thanks to using relative paths, the published map file will be able to access the data as long as it stays in the same location relative to the GIS datasets.

However, since you hadn't used relative paths, the only way to manage the data paths with respect to Linux paths, is to re-publish the map document in ArcMap with Publisher extension enabled and set relative paths for the map document beforehand. Alternatively, you could also use absolute paths, but make sure you use the same path you expect to have on the Linux machine.

Esri help page: About managing data sources for ArcGIS Publisher

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.