Opened 17 years ago

Closed 15 years ago

#313 closed defect (wontfix)

Zoom Selection Only Zooms to First Feature of MultiPolygon

Reported by: arysucaya Owned by:
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 (3)

WorldMap.mgp (3.3 MB ) - added by arysucaya 17 years ago.
maldive_selected.PNG (23.9 KB ) - added by arysucaya 17 years ago.
Location of Maldives
maldive_zoom_selection.PNG (14.8 KB ) - added by arysucaya 17 years ago.
Zoom selection result

Change History (13)

comment:1 by jbirch, 17 years ago

Summary: Zoom Selection DefectZoom 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.

by arysucaya, 17 years ago

Attachment: WorldMap.mgp added

by arysucaya, 17 years ago

Attachment: maldive_selected.PNG added

Location of Maldives

by arysucaya, 17 years ago

Attachment: maldive_zoom_selection.PNG added

Zoom selection result

comment:2 by arysucaya, 17 years ago

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

comment:3 by jbirch, 17 years ago

Component: GeneralRendering Service
Version: 2.0.0

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.

comment:4 by jbirch, 17 years ago

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 comment:5 by arysucaya, 17 years ago

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?

comment:6 by jbirch, 17 years ago

Component: Rendering ServiceFeature Service
Version: 2.0.01.2.0

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.

comment:7 by tomfukushima, 17 years ago

External ID: 1012343

comment:8 by arysucaya, 17 years ago

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?

comment:9 by tomfukushima, 16 years ago

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.

comment:10 by jbirch, 15 years ago

Resolution: wontfix
Status: newclosed

Old ticket; closing. If still a concern, please retest at version 2.1 and re-open.

Note: See TracTickets for help on using tickets.