Tag Info

New answers tagged

0

Solved! I start the process from layout view, but the script automatically switches to data view to turn various layers on/off. The issue was caused by the difference in scale when switching between views (still odd that the map was correct, just not the extent indicator!). I've corrected the issue by noting the scale at the start of the script and forcing ...


3

@dvdhns suggestions, are what you should do. However you don't need to write a xslt for html conversion because Esri has done this for your before. see this code snippet: import arcpy from arcpy import env env.workspace = "C:/data" #set local variables dir = arcpy.GetInstallInfo("desktop")["InstallDir"] xslt = dir + "Metadata/Stylesheets/ArcGIS.xsl" ...


3

No. You cannot directly export ESRI Feature Class metadata into PDF files. This is how I would attempt to do it using python, rather than ArcObjects: Use arcpy to export the metadata to xml files. Use python and xslt (xml style sheets) to format the xml files into something human readable, my recommendation is a simply formated txt or html file. Use a ...


2

Once you've got a window set up that you want to print you can do this by going to File > Print To PDF. This will load the print dialog for the MapInfo PDF printer. Under the Properties button on the top right is a button labelled 'PDF'. Click it to access the PDF preferences dialog. Here you can set the output PDF to be layered, include attribute data, be ...


2

The page size (outline) and the data frame (which are visible in your images) are two different things, and are not automatically adjusted to each other. You have to do that manually when changing layout/page size (this is why I always use layout templates). ArcMap doesn't know how much of your page each (if you have more than one) data frame should cover, ...


1

When you export to PDF, on the second tab of the "Options" you will see a box that will most likely be unchecked: "Embed All Document Fonts" Make sure that it is checked and it should reduce those errors for the people viewing your PDFs. If you yourself are seeing those errors, then something else is going haywire because those fonts should already be ...


1

This is tricky. Really tricky. First off: your description is lacking in many ways, what do you mean by "Some PDF maps contain lat/lng."? Is the map annotated with lat/longs in a grid? If so, you could try georeferencing (see georeferencer plugin) the map using qgis and then digitizing the features in qgis, and then saving the digitized features as GeoJSON. ...



Top 50 recent answers are included