Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When I make a selection in the query in Mapserver I got a blank page.

The query I use is: DATA "geom from (select * from bagmutlijst_201210.vo_gepland_gemeente where gemcode = '0141') as selection using unique gemcode using srid=28992"

The data is correct because if you use the following query (without a selection) I got a correct map. DATA 'geom from bagmutlijst_201210.vo_gepland_gemeente using unique gemcode using srid=28992'

Why is the selection not working?

share|improve this question
add comment

1 Answer

There wan't anything wrong with the query, but what the mapserver request I did. The polygon I selected was outside the BBOX.

When I changed the BBOX the polygon was visible.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.