Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to have a gridPanel with feature geometry. But i cant image how to do this. I have a FeatureStore

                            st = new{
                                layer: myVecLayer,
                                fields: [
                                    {name: 'id', type: 'int'},
                                    {name: 'mydata', type: 'String'}
                                 proxy: new{
                                    protocol: new OpenLayers.Protocol.WFS({
                                        version: "1.0.0",
                                        url: "http://localhost:8080/geoserver/wfs",
                                        featureType: "filedata_temp",
                                        featureNS: "",
                                autoLoad: true

How to get geometry from this? And separate this to X and Y?

i know that i gonna get WKT from FeatureStore and parse it to coordinates, but what next?
use another store to put coordinates to it?

share|improve this question
can u give some explanation that you want to get geometry of your objects when clicking or another way? which way u want to get geometry? – Aragon Aug 2 '12 at 6:35
Object selected by filter and in FeatureStore only one feature. Select without map clicking. I want get geometry to edit it in grid. – Kliver Max Aug 2 '12 at 6:37
I use this.1 get WKT from feature. 2 Parse it in string array. 3 Add this data to Ext.ArrayStore. 3 Add store to grid. Maybe geoext has standart methods to work with geometry? – Kliver Max Aug 3 '12 at 3:47

Your Answer


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

Browse other questions tagged or ask your own question.