Zum Hauptinhalt gehen

In GE 4.7 / GVH 2.8 How do I show graphics with over 2500 vertices?

Kommentare

7 Kommentare

  • Nico Burgerhart
    This is configurable in the viewer configuration files. In the Highlight Module there are  maxHighlightableGeometryVertices and thresholdVertices settings configurable. maxHighlightableGeometryVertices: The maximum number of vertices that can be highlighted before issuing a warning message. If the number of vertices exceeds this value, the message indicates that geometries in excess of "n" vertices cannot be highlighted. The user can select to not show the message again. thresholdVertices: Indicates the threshold at which geometry generalizing is applied. Geometry generalisation could also be disabled.

     

     
    0
  • Permanently deleted user
    Hi Brian and Nico,

     

    Nico, thanks for your reply, that's a great answer!  

     

    Brian, in looking through our bug tracker, it looks like the default vertices count was raised to 5000 in 2.8.  I'm curious why you are seeing that message.  On my viewer, the count is 5000 in the config file. 

     

    Is your site or service by chance externally accessible?  I'd love to take a look!  If you'd rather not post the link on the forums, please feel free to email it to me (dbriggs@latitudegeo.com).

     

    Thanks,

     

    Danny
    0
  • Nico Burgerhart
    There was a discrepancy between counts in viewer configuration (5000) and documentation (2500), this was filed as bug GVH-14591. This should be corrected in the documentation of 2.8.1 to 5000.
    0
  • Permanently deleted user
    Thank Nico!

     

    "geometryGeneralizationEnabled": false

     

    was exactly what I was looking for.

     

    Daniel I migrated my sites from GVH 2.7.2 to GVH 2.8.2 and they all have the maxHighlightableGeometryVertices set to 2500 after the upgrade. "moduleName": "Highlight", "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.Highlight.HighlightModule", "configuration": { "maxHighlightableGeometryVertices": 2500, "geometryGeneralization": { "geometryGeneralizationEnabled": true, "thresholdVertices": 2500, "maxDeviationInMeters": 250 } }

     

     
    0
  • Tyson Schoepflin
    Is there a way to hide vertices for markup?  We have a number of tools that drop in markup at a specific size and do not need to be resized.
    0
  • Tyson Schoepflin
    You can hide the vertices with css.

     

      /* Hide vertices and all control handles */ #map_gc #map_graphics_layer { display:none !important; } /* Hide vertices only */ #map_gc #map_graphics_layer circle { display:none !important; }

     

     
    0
  • Permanently deleted user
    Something I was able to do to overcome this was to not use "*" in the Query Task-Out Fields activity. Instead I omitted the location from the Out Fields and then didn't get this message. I could get away with this because I didn't need to visually see the 2500+ vertices on the map since I was feeding the results into a chart.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.