MapGuide Open Source:  Home |  Download |  Internals

Ticket #313 (new defect)

Opened 1 year ago

Last modified 4 months ago

Zoom Selection Only Zooms to First Feature of MultiPolygon

Reported by: arysucaya Assigned to:
Priority: medium Milestone:
Component: Feature Service Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 1012343

Description

When i tried to use 'zoom selection' to zoom multipolygon i saw that 'zoom selection' has an inconsistency behaviour. Sometimes it zoom all of the polygon but sometimes it is only make zoom to one polygon. It seem to be 'zoom selection' only make zoom to the first polygon of multipolygon. When we have a multipolygon comprises of big polygon dan small polygon, 'zoom selection' probably will show a wrong information to user when it show only small polygon and hide another big one.

Attachments

WorldMap.mgp (3.3 MB) - added by arysucaya on 11/24/07 03:00:10.
maldive_selected.PNG (23.9 kB) - added by arysucaya on 11/24/07 03:01:20.
Location of Maldives
maldive_zoom_selection.PNG (14.8 kB) - added by arysucaya on 11/24/07 03:02:07.
Zoom selection result

Change History

11/23/07 15:22:40 changed by jbirch

  • summary changed from Zoom Selection Defect to Zoom Selection Only Zooms to First Feature of MultiPolygon.

What version of MapGuide are you seeing this with? Can you please update the ticket with this information? Also, if you have a simple package that includes a small SDF / Layer Definition / Map Definition that can be used to replicate this problem, it is more likely to be fixed quickly.

11/24/07 03:00:10 changed by arysucaya

  • attachment WorldMap.mgp added.

11/24/07 03:01:20 changed by arysucaya

  • attachment maldive_selected.PNG added.

Location of Maldives

11/24/07 03:02:07 changed by arysucaya

  • attachment maldive_zoom_selection.PNG added.

Zoom selection result

11/24/07 03:13:14 changed by arysucaya

I use MGOS 1.2. I attached worldmap package consists of country of the world. One of the country is Maldives, it's consists of many islands. If i make a selection on maldives (see maldives_selected.png), and make use of zoom selection, then MGOS 1.2 show me one island only (see maldives_zoom_selection.png) Hope this information can help

11/24/07 05:15:18 changed by jbirch

  • owner changed.
  • version set to 2.0.0.
  • component changed from General to Rendering Service.

Well, I can confirm that 2.0.0beta1 does not like this package much either. In fact, in 1.2 you get farther than I did. Zooming to selection on 2.0 causes a bunch of exceptions, stylization failure, etc. I'm going to set the version on this one to 2.0.

(follow-up: ↓ 5 ) 11/24/07 05:17:07 changed by jbirch

Oh, error log from 2.0 when navigating this map with an active selection of the Maldives:

<2007-11-24T02:11:14> 			Administrator
 Error: Failed to stylize layer: world
        An unclassified exception occurred.
 StackTrace:
  - MgMappingUtil.StylizeLayers line 759 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\mapping\MappingUtil.cpp	Failed to stylize layer: world
An unclassified exception occurred.
<2007-11-24T02:11:15> An unclassified exception occurred.
<2007-11-24T02:11:15> 			Administrator
 Error: An unclassified exception occurred.
 StackTrace:
  - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
  - MgOpRenderDynamicOverlay.Execute line 93 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp
  - MgServerRenderingService.RenderDynamicOverlay line 295 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\ServerRenderingService.cpp	An unclassified exception occurred.
<2007-11-24T02:11:19> An unclassified exception occurred.
<2007-11-24T02:11:21> 			Administrator
 Error: An unclassified exception occurred.
 StackTrace:
  - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
  - MgOpRenderDynamicOverlay.Execute line 93 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp
  - MgServerRenderingService.RenderDynamicOverlay line 295 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_10.7\mgdev\server\src\services\rendering\ServerRenderingService.cpp	An unclassified exception occurred.
<2007-11-24T02:11:24> An unclassified exception occurred.
<2007-11-24T02:11:29> An unclassified exception occurred.
<2007-11-24T02:11:34> An unclassified exception occurred.
<2007-11-24T02:11:39> An unclassified exception occurred.
<2007-11-24T02:11:44> An unclassified exception occurred.
<2007-11-24T02:11:49> An unclassified exception occurred.
<2007-11-24T02:11:54> An unclassified exception occurred.
<2007-11-24T02:11:59> An unclassified exception occurred.
<2007-11-24T02:12:04> An unclassified exception occurred.
<2007-11-24T02:12:09> An unclassified exception occurred.
<2007-11-24T02:12:14> An unclassified exception occurred.


(in reply to: ↑ 4 ) 11/24/07 06:11:45 changed by arysucaya

Sorry, i don't understand what does it mean? Currently i'm working with MGOS 1.2, there is no error when navigating map with an active selection. Should i attach this package again?

11/24/07 11:26:50 changed by jbirch

  • owner changed.
  • version changed from 2.0.0 to 1.2.0.
  • component changed from Rendering Service to Feature Service.

I was just adding a note for when the developers look at this ticket. On second thought though, I think I'm going to set this one to 1.2, and add another one referencing this ticket's data.

11/26/07 15:40:05 changed by tomfukushima

  • external_id set to 1012343.

12/14/07 07:14:12 changed by arysucaya

I want to add a little bit information about this problem. I was compared 3 different format of the same data on MGOS 1.2: sdf, mysql and postgis. sdf and mysql make zoom to first polygon of multipolygon but postgis do not. So maybe the problem was in fdo?

07/30/08 18:41:47 changed by tomfukushima

Hi, I just noticed a similar problem when a SHP file was loaded as SDF using Studio. Is that how you created these files? If that's the case, a workaround for now would be to load the SHP without converting to SDF using Studio; or to use an unmanaged SHP feature source.