Select to view content in your preferred language

Map series not putting PDFs in order by page name

165
1
3 weeks ago
BinhLe2
Occasional Contributor

Hi,

I have a mapbook script  using a SQL query and then added into a dictionary to define the print pages. The problem right now is the pages are ordered by the oid and not the pagename. The mapseries is set up to sort by name and it shows that in the Map Series Pages pane. I am using  lyr.setSelectionSet(oidList,'NEW') to define the query. Is this a bug?

0 Kudos
1 Reply
JeffBarrette
Esri Regular Contributor

@BinhLe2 could you provide a little more detail, screenshots, and perhaps more of your script?  There are probably a number of ways to approach this, but the summary doesn't provide enough context.  A map series page order is based on an internal index number based on the sort field.  If you export a map series (with or without Python) the pages should follow that order. Are you exporting to a single file, multiple files? Again, having more context will help us identify if there is a bug.

Jeff - arcpy.mp team

0 Kudos