Hi,
I am using geoserver 2.5
MongoDb 2.4
Windows 7 64bit

I am imported json file into MongoDb using the below query.
mongoimport --db GeoMongodb --collection states  --file E:/states.json
--jsonArray
This query successfully created states table into GeoMongodb database.

I am created MongoDb store in geoserver. The store also created but inserted
table not showing in MongoDb store as layer.
(http://gis.stackexchange.com/questions/54950/getting-mongodb-working-with-geoserver-2)
I refereed this link for creating MongoDb store.
so I checked geoserver log, it is showing like this error,

2014-04-17 14:22:32,723 ERROR [data.mongodb] - getLayers error; command
failed [mapreduce]: { "serverUsed" : "localhost/127.0.0.1:27017" , "errmsg"
: "exception: ReferenceError: mapfields_recursive is not defined near
'ction() { mapfields_recursive (\"\", this);' " , "code" : 16722 , "ok" :
0.0}

can you please help me how to solve this issue?

Thanks and regards
Mano G



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/is-Layer-not-getting-from-MongoDb-in-geoserver-MongoDb-store-tp5135581.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to