|
POST
|
Hi Emmor, I never got these files. Did you try sending them? Jeff
... View more
02-22-2019
01:04 PM
|
0
|
0
|
4500
|
|
POST
|
Hi Emmor, Just to confirm, when you export via the Share-->Export dialog, are you checking the new option called "Ouput as Image"? If your map contains few and relatively non-dense vector layers, it is actually possible this option could produce a larger output. I will ask other team members about the possible source of the white lines. Jeff
... View more
02-15-2019
02:06 PM
|
1
|
2
|
4503
|
|
POST
|
Thanks Josh. Software development is aware of your concerns. There is an existing enhancement request that we hope to address as soon as possible. If you are interested in tracking via customer support, the number is: ENH-000098885. Thanks, Jeff
... View more
01-30-2019
10:21 AM
|
2
|
0
|
7261
|
|
POST
|
Hello Brian, This can be done with Python Map Automation. For ArcMap, we have an arcpy.mapping help topic. This same topic does not exist for Pro but the scripting logic is still the same. The idea is to search for layout elements and move them to different positions depending on the current page being exported. In Pro, arcpy.mp is slightly different because the objects are different (e.g., a map document vs a project) but other than that a very similar script can be used. http://desktop.arcgis.com/en/arcmap/latest/map/page-layouts/creating-a-map-book-with-facing-pages.htm Jeff
... View more
01-08-2019
11:58 AM
|
0
|
1
|
1342
|
|
POST
|
This dialog is great and I really hope you are part of the EAP for the next release! Output As Image option: In ArcGIS Pro 2.3, for all vector output formats (EMF, EPS, PDF and SVG), we added a new checkbox option in the export dialog called "output as image". This rasterizes all vector content. It will drastically reduce file size for maps that have very detailed vector content like in the examples provided above but the trade-off is that you will lose capabilities like preserving layer attributes. Future vector generalization: We are in the design phase for new the export capabilities in 2.4 so it is difficult for me to confirm exactly how it will work. Currently, in Pro and ArcMap, if all you have is vector content, changing the resolution(dpi) setting will have no effect on output file size. In Pro (post 2.3), this control along with other controls will be reworked to give you the much better control over how vector data is simplified as well as raster data. How the vector simplification algorithms will work and the exact user experience is still part of daily, current discussions here in software development. I really hope this helps and again, it would be great if you are part of the EAP for the next release. Jeff
... View more
12-14-2018
07:29 AM
|
1
|
6
|
4502
|
|
POST
|
Post 2.3 we will provide additional capabilities that allow you to control the vector quality AND the raster quality. Jeff
... View more
12-13-2018
01:35 PM
|
2
|
5
|
4747
|
|
POST
|
Thanks Malcolm, We are fully aware of your concern and have prioritized plans to address these issues as soon as possible. With Pro 2.3 we’ve introduced a way to rasterize vector content to reduce export file size when there is a lot of dense vector content. This option creates a PDF with rasterized content and you therefore can’t preserve layer attributes, etc. If you must preserve this the vector content then there are currently two options, generalize the data or more realistically use “Adobe Acrobat’s “Optimize PDF” option. Post 2.3 (and hopefully for 2.4) we plan on providing addition capabilities that will allow you to control the extent to which vector data is optimized/generalized (separate from raster data options) to achieve smaller output file sizes. Thanks again, Jeff
... View more
12-13-2018
01:18 PM
|
1
|
15
|
4747
|
|
POST
|
A user interface (UI) export option called "Output as image" was added to the Pro 2.3 export dialog. It rasterizes all vector layers. The file size difference is most evident when the vector layers are large with a high number of vertices. Arcpy.mp won't have this option until the next release (hopefully 2.4) due to the option in the UI being a late addition to Pro 2.3. Jeff
... View more
11-15-2018
05:58 PM
|
1
|
17
|
4306
|
|
POST
|
Hello Chris, You don't add layers to MapFrames, you add layers to Maps. MapFrames display the contents of an associated Map and preserve a specific extent. Check out this help snippet on how to add a shapefile to a map. ProConcepts Map Authoring · Esri/arcgis-pro-sdk Wiki · GitHub Adding a layer to a map will automatically get displayed in any map frame that references that map. Jeff
... View more
10-26-2018
09:31 AM
|
0
|
0
|
1478
|
|
POST
|
In the above code you already have the geometry of the selection feature. Geometry geo = feature.GetShape(); So add these two lines to the bottom of the code above. //Reference county layer and apply spatial query FeatureLayer fl2 = m.FindLayers("Counties").First() as FeatureLayer; fl2.Select(spatialQuery); Envelope env = geo.Extent; mf.ZoomTo(env);
... View more
10-25-2018
12:14 PM
|
0
|
3
|
5919
|
|
POST
|
Go back to this site: How can I make a "Select by location" in PRO SDK I added a code snippet. The original question on this thread was answered. I'm trying to keep examples / threads relevant to the topic so we have better success searching for stuff. Note - my example may not be the most concise but it works. I'm not sure how to get the selection's geometry without using a cursor but I'm sure there is an easier way. I'm a layout SDK guy. 🙂
... View more
10-24-2018
12:57 PM
|
0
|
0
|
5172
|
|
POST
|
Here is another example that uses the selection from one feature class to select features in another feature class. //"SelectByLocation" - Select Counties based on selected State polygon Layout layout = LayoutView.Active.Layout; await QueuedTask.Run(() => { MapFrame mf = layout.FindElement("Map Frame") as MapFrame; Map m = mf.Map; //Select a single state polygon FeatureLayer fl1 = m.FindLayers("State_Polygons").First() as FeatureLayer; QueryFilter queryFilter = new QueryFilter(); string whereClause = "State_Name = 'Rhode Island'"; queryFilter.WhereClause = whereClause; //Use a cursor to get to a feature's geometry using (ArcGIS.Core.Data.RowCursor rowCursor = fl1.Search(queryFilter)) { //Grab the first record (and hopefully only record) while (rowCursor.MoveNext()) { //Grab the features geometry Feature feature = rowCursor.Current as Feature; Geometry geo = feature.GetShape(); //Set up a spatial query var spatialQuery = new SpatialQueryFilter() { FilterGeometry = geo, SpatialRelationship = SpatialRelationship.Intersects }; //Reference county layer and apply spatial query FeatureLayer fl2 = m.FindLayers("Counties").First() as FeatureLayer; fl2.Select(spatialQuery); } } });
... View more
10-24-2018
12:51 PM
|
3
|
6
|
5919
|
|
POST
|
Try adding the last 3 lines to the code I already provided. I simply multiply the scale by 110% // get the shape from the row ArcGIS.Core.Data.Feature feature = rowCursor.Current as ArcGIS.Core.Data.Feature; Polygon polygon = feature.GetShape() as Polygon; Envelope env = polygon.Extent as Envelope; mf.ZoomTo(env); Camera cam = mf.Camera; cam.Scale = cam.Scale * 1.1; mf.SetCamera(cam); Also, concerning your select by location question ... see: https://community.esri.com/thread/210362-how-can-i-make-a-select-by-location-in-pro-sdk Jeff
... View more
10-23-2018
11:14 AM
|
1
|
2
|
5172
|
|
POST
|
Hi Joshua, The way I got this to work was to create a query and iterate using a cursor. You want to make sure your query returns one feature. ////Zoom to the envelope of each feature //Reference the layout Layout layout = LayoutView.Active.Layout; //Select the feature await QueuedTask.Run(() => { //Reference the mapframe, associated map, and build a query MapFrame mf = layout.FindElement("Map Frame") as MapFrame; Map m = mf.Map; FeatureLayer fl = m.FindLayers("GreatLakes").First() as FeatureLayer; QueryFilter qf = new QueryFilter(); string whereClause = "NAME = 'Lake Erie'"; qf.WhereClause = whereClause; //Zoom to the feature using (ArcGIS.Core.Data.RowCursor rowCursor = fl.Search(qf)) { while (rowCursor.MoveNext()) { // get the shape from the row ArcGIS.Core.Data.Feature feature = rowCursor.Current as ArcGIS.Core.Data.Feature; Polygon polygon = feature.GetShape() as Polygon; Envelope env = polygon.Extent as Envelope; mf.ZoomTo(env); } } }); I hope this helps, Jeff
... View more
10-22-2018
02:50 PM
|
1
|
4
|
5172
|
|
POST
|
We unfortunately have not extended the number of supported renderers and this includes the 2.3 release due out at the beginning of next year. We currently plan to have something available at 2.4 that will give you finer grained access to ALL renderers. Jeff - arcpy.mp team
... View more
10-15-2018
08:01 AM
|
0
|
0
|
1644
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-05-2025 11:20 AM | |
| 3 | 06-05-2025 09:21 AM | |
| 1 | 05-14-2025 01:19 PM | |
| 2 | 04-24-2025 07:54 AM | |
| 1 | 03-15-2025 07:19 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|