Opened 21 years ago

Closed 16 years ago

#365 closed defect (invalid)

Two tiled layers in a .map file do not show up.

Reported by: zamil.murji@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.1
Severity: normal Keywords:
Cc:

Description (last modified by sdlime)

Always shows the first tiled layer and nothing else below it. Also does not 
show a tiled layer that follows a normal polygon shapefile. I know this for 
sure because I removed the tiled layer and replaced with corresponding DATA tag 
and both layers show up fine.

Here is my .map file:
NAME TEST1
EXTENT -130.635 24.396 -39.974 31.001
SYMBOLSET "c:\\mapfiles\newsym.sym"
#EXTENT 49 -110 60 -120
SIZE 900 900
SHAPEPATH "e:\\"

LAYER
  NAME "counties"
  TILEINDEX us_data/culture/countytileindex
  TILEITEM "LOCATION"
  STATUS default
  TYPE POLYGON
  MAXSCALE 29
  CLASS
   OUTLINECOLOR 0 0 0
  END
END    

LAYER
  NAME "cities"
  TILEINDEX us_data/culture/citiestileindex
  TILEITEM "LOCATION"
  STATUS DEFAULT
  TYPE POLYGON
  MAXSCALE 29
  CLASS
   COLOR 0 0 0
   OUTLINECOLOR 0 0 0
  END
END
END

Attachments (6)

image1.gif (3.2 KB ) - added by zamil.murji@… 21 years ago.
counties over top of cities
image2.gif (12.4 KB ) - added by zamil.murji@… 21 years ago.
cities over top of counties
image3.gif (3.8 KB ) - added by zamil.murji@… 21 years ago.
changed to DATA tag
image1.2.gif (12.3 KB ) - added by zamil.murji@… 21 years ago.
Counties over cities
image2.2.gif (7.6 KB ) - added by zamil.murji@… 21 years ago.
Cities over counties
image3.2.gif (7.4 KB ) - added by zamil.murji@… 21 years ago.
Cities and counties both on a map

Download all attachments as: .zip

Change History (19)

by zamil.murji@…, 21 years ago

Attachment: image1.gif added

counties over top of cities

by zamil.murji@…, 21 years ago

Attachment: image2.gif added

cities over top of counties

by zamil.murji@…, 21 years ago

Attachment: image3.gif added

changed to DATA tag

comment:1 by zamil.murji@…, 21 years ago

IMPORTANT: Last known version of mapserv.exe where this .map file worked was 
3.6.3.

comment:2 by sdlime, 21 years ago

Status: newassigned
Could you post screen shots of with cities over counties and vice versa with the
layers drawn as polylines of different colors and no fills? It's hard to tell
what's up from the existing images and the mapfile. For example, the mapfile has
cities drawn as white polygons with black outlines based on the second
attachement I wouldn't expect to see any counties. Anyway, just the line work in
seperate colors would help.

Also, what's the corresponding DATA tag? Do you have untiled versions of each layer?

Steve

comment:3 by zamil.murji@…, 21 years ago

attachments.isobsolete: 01

comment:4 by zamil.murji@…, 21 years ago

attachments.isobsolete: 01

comment:5 by zamil.murji@…, 21 years ago

attachments.isobsolete: 01

by zamil.murji@…, 21 years ago

Attachment: image1.2.gif added

Counties over cities

by zamil.murji@…, 21 years ago

Attachment: image2.2.gif added

Cities over counties

by zamil.murji@…, 21 years ago

Attachment: image3.2.gif added

Cities and counties both on a map

comment:6 by zamil.murji@…, 21 years ago

Hi Steve,

The corresponding data tag is in the comment for the last attachment (Cities 
and counties both on a map). You'll notice that their is some white space 
around the image because I'm only using one of the states in my DATA tag.

I don't have untiled shapefiles so to say. I have 50+ shapefiles, one for each 
state, and I used tile4ms to merge them into one tileindex.  

Sorry about all the emails. This is my first time using bugzilla.

Zamil

comment:7 by zamil.murji@…, 21 years ago

Hi Steve,

I also tried switching the TYPE tag to LINE, but I got the same output (3 
attachments above). I also tried this process with a third tiled layer, it 
also doesn't display if it is the 2nd or 3rd layer in the .map file. 

Zamil

comment:8 by dmorissette, 21 years ago

Cc: morissette@… added

comment:9 by sdlime, 21 years ago

Ok, working on this one. I gotta create a test dataset first though.

Steve

comment:10 by sdlime, 21 years ago

Resolution: invalid
Status: assignedclosed
I downloaded the demo data, and with basically the same mapfile got it to work, 
no problem. That doesn't mean there isn't a bug but it's not something big like 
tiling doesn't work. So for the moment I'm marking this one as invalid. We can 
always reopen or get more specific if need be...

Note that my tests were done with MapServer 4.0 beta 2 on Linux (RH7.3).

Steve

comment:11 by sdlime, 21 years ago

Resolution: invalid
Status: closedreopened
Version: 4.04.1
Zamil confirmed that all is well on Linux. So this is a windows only issue. I 
would've imagined confirmation of the error given the popularity of the Windows 
builds, but I've not heard a peep. I'm still leaning towards a data problem or 
an issue with the tile indexes themselves. I'll repopen and mark this one as 
something we need to look at for 4.1 (sooner if other folks have problems).

comment:12 by dmorissette, 21 years ago

Cc: assefa@… added
If it's windows-specific then perhaps Assefa could check this when he works on
4.1.  I'll add him to the CC.

comment:13 by sdlime, 16 years ago

Description: modified (diff)
Resolution: invalid
Status: reopenedclosed

Closing as invalid...

Steve

Note: See TracTickets for help on using tickets.